org.apache.camel.component.flatpack
Class DelimitedEndpoint

java.lang.Object
  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:
CamelContextAware, Endpoint, IsSingleton, Service, HasId

public class DelimitedEndpoint
extends FixedLengthEndpoint

Version:
$Revision: 988 $

Constructor Summary
DelimitedEndpoint(String uri, Resource resource)
           
 
Method Summary
 net.sf.flatpack.Parser createParser(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, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isLenientProperties, isSynchronous, sanitizeUri, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DelimitedEndpoint

public DelimitedEndpoint(String uri,
                         Resource resource)
Method Detail

createParser

public net.sf.flatpack.Parser createParser(Exchange exchange)
                                    throws InvalidPayloadException,
                                           IOException
Overrides:
createParser in class FixedLengthEndpoint
Throws:
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