com.agimatec.utility.fileimport
Class CSVStringTokenizerFactory

java.lang.Object
  extended by com.agimatec.utility.fileimport.CSVStringTokenizerFactory
All Implemented Interfaces:
LineTokenizerFactory<String,String>

public class CSVStringTokenizerFactory
extends Object
implements LineTokenizerFactory<String,String>

Description: Factory that creates CSVStringTokenizer
User: roman.stumm
Date: 28.08.2007
Time: 16:32:14
Copyright: Agimatec GmbH


Constructor Summary
CSVStringTokenizerFactory()
           
 
Method Summary
 LineReader<String> createLineReader()
          initialize the lineReader.
 LineTokenizer<String,String> createTokenizer(String aLine)
          create a line parser for the given line of data.
 void setDelimeter(String delimeter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVStringTokenizerFactory

public CSVStringTokenizerFactory()
Method Detail

createTokenizer

public LineTokenizer<String,String> createTokenizer(String aLine)
Description copied from interface: LineTokenizerFactory
create a line parser for the given line of data. line parsers currently implement the Enumeration interface only.

Specified by:
createTokenizer in interface LineTokenizerFactory<String,String>
Parameters:
aLine -
Returns:
a new CSVStringTokenizer

setDelimeter

public void setDelimeter(String delimeter)

createLineReader

public LineReader<String> createLineReader()
Description copied from interface: LineTokenizerFactory
initialize the lineReader.

Specified by:
createLineReader in interface LineTokenizerFactory<String,String>


Copyright © 2008-2011. All Rights Reserved.