|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.joone.io.MemoryInputTokenizer
public class MemoryInputTokenizer
Constructor Summary | |
---|---|
MemoryInputTokenizer()
Creates a new instance of MemoryInputTokenizer |
|
MemoryInputTokenizer(double[][] array)
|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemoryInputTokenizer()
public MemoryInputTokenizer(double[][] array)
Method Detail |
---|
public void resetInput() throws java.io.IOException
resetInput
in interface PatternTokenizer
java.io.IOException
public int getLineno()
getLineno
in interface PatternTokenizer
public char getDecimalPoint()
getDecimalPoint
in interface PatternTokenizer
public boolean nextLine() throws java.io.IOException
nextLine
in interface PatternTokenizer
IOException
- if an I/O Error occurspublic int getNumTokens() throws java.io.IOException
getNumTokens
in interface PatternTokenizer
java.io.IOException
public void mark() throws java.io.IOException
mark
in interface PatternTokenizer
IOException
- if an I/O Error occurspublic double getTokenAt(int posiz) throws java.io.IOException
getTokenAt
in interface PatternTokenizer
posiz
- int
java.io.IOException
public double[] getTokensArray()
getTokensArray
in interface PatternTokenizer
public void setDecimalPoint(char decimalPoint)
setDecimalPoint
in interface PatternTokenizer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |