|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IImportTokenizer
Interface for classes responsible for initial input stream analysis and conversion to an appropriate list of record
tables. The IImportTokenizer
is dependent on the input file format. It can also define its own
specialised ITokenizerOption
s.
Method Summary | |
---|---|
List<ITokenizerOption> |
getTokenizerOptions()
Returns tokenizer options. |
void |
setEncoding(Charset charset)
Sets the input stream encoding. |
void |
setTokenizerOptions(List<ITokenizerOption> options)
Sets the tokenizer options. |
List<RawTabularData> |
tokenize(InputStream dataIs,
long rowsLimit,
org.eclipse.core.runtime.IProgressMonitor monitor)
Splits a given input stream into tokens, using specified tokenizer options. |
Method Detail |
---|
List<RawTabularData> tokenize(InputStream dataIs, long rowsLimit, org.eclipse.core.runtime.IProgressMonitor monitor) throws IOException
dataIs
- the data input stream to tokenizerowsLimit
- the maximum number of rows to be importedmonitor
- the progress monitor for the tokenization operation
IOException
void setEncoding(Charset charset)
charset
- the encoding of data contained in the input streamvoid setTokenizerOptions(List<ITokenizerOption> options)
options
- the options passed to data tokenizerList<ITokenizerOption> getTokenizerOptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |