pl.edu.agh.cast.importer.base.tokenizer.xls
Class XlsTokenizer

java.lang.Object
  extended by pl.edu.agh.cast.importer.base.tokenizer.AbstractImportTokenizer
      extended by pl.edu.agh.cast.importer.base.tokenizer.xls.XlsTokenizer
All Implemented Interfaces:
IImportTokenizer

public class XlsTokenizer
extends AbstractImportTokenizer

Simple XLS data tokenizer.

Author:
AGH CAST Team

Field Summary
static String XLS_TOKENIZER_ID
          Name of the XLS tokenizer.
 
Fields inherited from class pl.edu.agh.cast.importer.base.tokenizer.AbstractImportTokenizer
options
 
Constructor Summary
XlsTokenizer()
          The default constructor.
 
Method Summary
 List<RawTabularData> tokenize(InputStream dataIs, long rowsLimit, org.eclipse.core.runtime.IProgressMonitor monitor)
          Splits a given input stream into tokens, using specified tokenizer options.
 
Methods inherited from class pl.edu.agh.cast.importer.base.tokenizer.AbstractImportTokenizer
equals, getEncoding, getOptionValue, getTokenizerOptions, hashCode, removeEmptyCellsFromRowEnd, removeQualifier, setEncoding, setTokenizerOptions
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XLS_TOKENIZER_ID

public static final String XLS_TOKENIZER_ID
Name of the XLS tokenizer.

See Also:
Constant Field Values
Constructor Detail

XlsTokenizer

public XlsTokenizer()
The default constructor.

Method Detail

tokenize

public List<RawTabularData> tokenize(InputStream dataIs,
                                     long rowsLimit,
                                     org.eclipse.core.runtime.IProgressMonitor monitor)
                              throws IOException
Splits a given input stream into tokens, using specified tokenizer options.

Parameters:
dataIs - the data input stream to tokenize
rowsLimit - the maximum number of rows to be imported
monitor - the progress monitor for the tokenization operation
Returns:
the tokenized data in an unanalyzed tabular form
Throws:
IOException
See Also:
IImportTokenizer.tokenize(java.io.InputStream, long, org.eclipse.core.runtime.IProgressMonitor)


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.