org.apache.camel.component.flatpack
Class DelimitedEndpoint

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultEndpoint
          extended by org.apache.camel.impl.ScheduledPollEndpoint
              extended by org.apache.camel.impl.DefaultPollingEndpoint
                  extended by org.apache.camel.component.flatpack.FixedLengthEndpoint
                      extended by org.apache.camel.component.flatpack.DelimitedEndpoint
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasId

public class DelimitedEndpoint
extends FixedLengthEndpoint

Version:
$Revision$

Constructor Summary
DelimitedEndpoint(String uri, org.springframework.core.io.Resource resource)
           
 
Method Summary
 net.sf.flatpack.Parser createParser(org.apache.camel.Exchange exchange)
           
 char getDelimiter()
           
 char getTextQualifier()
           
 boolean isIgnoreFirstRecord()
           
 void setDelimiter(char delimiter)
           
 void setIgnoreFirstRecord(boolean ignoreFirstRecord)
           
 void setTextQualifier(char textQualifier)
           
 
Methods inherited from class org.apache.camel.component.flatpack.FixedLengthEndpoint
createConsumer, createExchange, createParser, createProducer, getLoadBalancer, getParserFactory, getResource, isSingleton, isSplitRows, processDataSet, setLoadBalancer, setParserFactory, setSplitRows
 
Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint
configureConsumer, configureProperties, getConsumerProperties, setConsumerProperties
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isLenientProperties, isSynchronous, sanitizeUri, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

DelimitedEndpoint

public DelimitedEndpoint(String uri,
                         org.springframework.core.io.Resource resource)
Method Detail

createParser

public net.sf.flatpack.Parser createParser(org.apache.camel.Exchange exchange)
                                    throws org.apache.camel.InvalidPayloadException,
                                           IOException
Overrides:
createParser in class FixedLengthEndpoint
Throws:
org.apache.camel.InvalidPayloadException
IOException

getDelimiter

public char getDelimiter()

setDelimiter

public void setDelimiter(char delimiter)

isIgnoreFirstRecord

public boolean isIgnoreFirstRecord()

setIgnoreFirstRecord

public void setIgnoreFirstRecord(boolean ignoreFirstRecord)

getTextQualifier

public char getTextQualifier()

setTextQualifier

public void setTextQualifier(char textQualifier)


Apache CAMEL