|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PatternTokenizer
Interface to extract tokens from an input stream
Method Summary | |
---|---|
char |
getDecimalPoint()
|
int |
getLineno()
Return the current line number. |
int |
getNumTokens()
|
double |
getTokenAt(int posiz)
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 decimalPoint)
|
Method Detail |
---|
int getLineno()
int getNumTokens() throws java.io.IOException
java.io.IOException
double getTokenAt(int posiz) throws java.io.IOException
posiz
- int
java.io.IOException
double[] getTokensArray()
void mark() throws java.io.IOException
IOException
- if an I/O Error occursboolean nextLine() throws java.io.IOException
IOException
- if an I/O Error occursvoid resetInput() throws java.io.IOException
java.io.IOException
char getDecimalPoint()
void setDecimalPoint(char decimalPoint)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |