public class AsciiStreamReader
extends java.io.StreamTokenizer
| Constructor and Description |
|---|
AsciiStreamReader(java.io.InputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
float |
readFloat()
Return the current token as a float.
|
int |
readInt()
Return the current token as an integer.
|
float |
readNextFloat()
Read the next float in this stream.
|
int |
readNextInt()
Read the next integer in this stream.
|
java.lang.String |
readNextString()
Read the next string in this stream.
|
public int readNextInt()
throws java.io.IOException,
java.io.EOFException
java.io.EOFException - is thrown when TT_EOF is encountered instead of TT_NUMBERjava.io.IOExceptionpublic float readNextFloat()
throws java.io.IOException,
java.io.EOFException
java.io.EOFException - is thrown when TT_EOF is encountered instead of TT_NUMBERjava.io.IOExceptionpublic java.lang.String readNextString()
throws java.io.IOException,
java.io.EOFException
java.io.EOFException - is thrown when TT_EOF is encountered instead of TT_WORDjava.io.IOExceptionpublic int readInt()
public float readFloat()
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com