org.antlr.runtime
Class ANTLRInputStream
java.lang.Object
org.antlr.runtime.ANTLRStringStream
org.antlr.runtime.ANTLRReaderStream
org.antlr.runtime.ANTLRInputStream
- All Implemented Interfaces:
- CharStream, IntStream
public class ANTLRInputStream
- extends ANTLRReaderStream
A kind of ReaderStream that pulls from an InputStream.
Useful for reading from stdin and specifying file encodings etc...
Methods inherited from class org.antlr.runtime.ANTLRStringStream |
consume, getCharPositionInLine, getLine, getSourceName, index, LA, LT, mark, release, reset, rewind, rewind, seek, setCharPositionInLine, setLine, size, substring |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANTLRInputStream
public ANTLRInputStream()
ANTLRInputStream
public ANTLRInputStream(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
ANTLRInputStream
public ANTLRInputStream(java.io.InputStream input,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
ANTLRInputStream
public ANTLRInputStream(java.io.InputStream input,
java.lang.String encoding)
throws java.io.IOException
- Throws:
java.io.IOException
ANTLRInputStream
public ANTLRInputStream(java.io.InputStream input,
int size,
java.lang.String encoding)
throws java.io.IOException
- Throws:
java.io.IOException
ANTLRInputStream
public ANTLRInputStream(java.io.InputStream input,
int size,
int readBufferSize,
java.lang.String encoding)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2011. All Rights Reserved.