|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.joone.io.StreamInputTokenizer
public class StreamInputTokenizer
| Constructor Summary | |
|---|---|
StreamInputTokenizer(java.io.Reader in)
Creates new StreamInputTokenizer |
|
StreamInputTokenizer(java.io.Reader in,
int maxBufSize)
Creates new StreamInputTokenizer |
|
| Method Summary | |
|---|---|
char |
getDecimalPoint()
|
int |
getLineno()
Return the current line number. |
int |
getNumTokens()
|
double |
getTokenAt(int posiz)
Insert the method's description here. |
double[] |
getTokensArray()
Returns tokenized line Creation date: (17/10/2000 0.13.45) |
void |
mark()
mark the current position. |
boolean |
nextLine()
Fetchs the next line and extracts all the tokens |
void |
resetInput()
Go to the last marked position. |
void |
setDecimalPoint(char dp)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StreamInputTokenizer(java.io.Reader in)
throws java.io.IOException
in - The input stream
java.io.IOException
public StreamInputTokenizer(java.io.Reader in,
int maxBufSize)
throws java.io.IOException
in - The input streammaxBufSize - the max dimension of the input buffer
java.io.IOException| Method Detail |
|---|
public int getLineno()
getLineno in interface PatternTokenizer
public int getNumTokens()
throws java.io.IOException
getNumTokens in interface PatternTokenizerjava.io.IOException
public double getTokenAt(int posiz)
throws java.io.IOException
getTokenAt in interface PatternTokenizerposiz - int
java.io.IOExceptionpublic double[] getTokensArray()
getTokensArray in interface PatternTokenizer
public void mark()
throws java.io.IOException
mark in interface PatternTokenizerIOException - if an I/O Error occurs
public boolean nextLine()
throws java.io.IOException
nextLine in interface PatternTokenizerIOException - if an I/O Error occurs
public void resetInput()
throws java.io.IOException
resetInput in interface PatternTokenizerjava.io.IOExceptionpublic void setDecimalPoint(char dp)
setDecimalPoint in interface PatternTokenizerpublic char getDecimalPoint()
getDecimalPoint in interface PatternTokenizer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||