public class XLSInputTokenizer extends java.lang.Object implements PatternTokenizer
| Constructor and Description |
|---|
XLSInputTokenizer(HSSFSheet i_sheet) |
| Modifier and Type | Method and Description |
|---|---|
char |
getDecimalPoint() |
int |
getLineno()
Return the current line number.
|
int |
getNumTokens() |
double |
getTokenAt(int p0)
Returns the value of the token at 'posiz' column of the current line
Creation date: (17/10/2000 0.30.08)
|
double[] |
getTokensArray()
Returns an array of values of the current line
Creation date: (17/10/2000 0.13.45)
|
void |
mark()
marks the current position.
|
boolean |
nextLine()
Go to the next line
|
void |
resetInput()
Go to the last marked position.
|
void |
setDecimalPoint(char dp) |
public XLSInputTokenizer(HSSFSheet i_sheet)
throws java.io.IOException
java.io.IOExceptionpublic int getLineno()
PatternTokenizergetLineno in interface PatternTokenizerpublic int getNumTokens()
throws java.io.IOException
getNumTokens in interface PatternTokenizerjava.io.IOExceptionpublic double getTokenAt(int p0)
throws java.io.IOException
PatternTokenizergetTokenAt in interface PatternTokenizerp0 - intjava.io.IOExceptionpublic double[] getTokensArray()
PatternTokenizergetTokensArray in interface PatternTokenizerpublic void mark()
throws java.io.IOException
PatternTokenizermark in interface PatternTokenizerIOException - if an I/O Error occurspublic boolean nextLine()
throws java.io.IOException
PatternTokenizernextLine in interface PatternTokenizerIOException - if an I/O Error occurspublic void resetInput()
throws java.io.IOException
PatternTokenizerresetInput in interface PatternTokenizerjava.io.IOExceptionpublic void setDecimalPoint(char dp)
setDecimalPoint in interface PatternTokenizerpublic char getDecimalPoint()
getDecimalPoint in interface PatternTokenizerSubmit Feedback to pmarrone@users.sourceforge.net