com.agimatec.utility.fileimport
Class FixedLengthStringTokenizerFactory
java.lang.Object
com.agimatec.utility.fileimport.FixedLengthStringTokenizerFactory
- All Implemented Interfaces:
- LineTokenizerFactory<String,String>
public class FixedLengthStringTokenizerFactory
- extends Object
- implements LineTokenizerFactory<String,String>
Description: Factory that creates FixedLengthStringTokenizer
User: roman.stumm
Date: 11.09.2007
Time: 19:30:59
Copyright: Agimatec GmbH
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedLengthStringTokenizerFactory
public FixedLengthStringTokenizerFactory()
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>
getFixedLengths
public int[] getFixedLengths()
setFixedLengths
public void setFixedLengths(int[] fixedLengths)
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.