|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.xabsl.jxabslx.utils.ScannerInputSource
public class ScannerInputSource
InputSource implementation utilizing java.util.Scanner. Reads intermediate
code from a variety of sources. Ignores C-style //....EOL
comments.
Constructor Summary | |
---|---|
ScannerInputSource(java.io.File file)
|
|
ScannerInputSource(java.io.File file,
java.lang.String charsetName)
|
|
ScannerInputSource(java.io.InputStream inputStream)
|
|
ScannerInputSource(java.io.InputStream inputStream,
java.lang.String charsetName)
|
|
ScannerInputSource(java.lang.Readable readable)
|
|
ScannerInputSource(java.nio.channels.ReadableByteChannel readableByteChannel)
|
|
ScannerInputSource(java.nio.channels.ReadableByteChannel readableByteChannel,
java.lang.String charsetName)
|
|
ScannerInputSource(java.lang.String string)
|
Method Summary | |
---|---|
protected void |
finalize()
|
java.lang.String |
next()
Read a string |
boolean |
nextBoolean()
Read d boolean |
double |
nextDouble()
Read a decimal |
int |
nextInt()
Read an integer |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScannerInputSource(java.io.File file) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public ScannerInputSource(java.io.InputStream inputStream)
public ScannerInputSource(java.lang.Readable readable)
public ScannerInputSource(java.nio.channels.ReadableByteChannel readableByteChannel)
public ScannerInputSource(java.lang.String string)
public ScannerInputSource(java.io.File file, java.lang.String charsetName) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public ScannerInputSource(java.io.InputStream inputStream, java.lang.String charsetName)
public ScannerInputSource(java.nio.channels.ReadableByteChannel readableByteChannel, java.lang.String charsetName)
Method Detail |
---|
public java.lang.String next()
InputSource
next
in interface InputSource
public double nextDouble()
InputSource
nextDouble
in interface InputSource
public int nextInt()
InputSource
nextInt
in interface InputSource
public boolean nextBoolean()
InputSource
nextBoolean
in interface InputSource
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |