CharStream, IntStreamCharStreams interface.public class ANTLRFileStream extends ANTLRInputStream
ANTLRInputStream that is loaded from a file all at once
when you construct the object.| Modifier and Type | Field | Description |
|---|---|---|
protected String |
fileName |
Deprecated.
|
data, INITIAL_BUFFER_SIZE, n, name, p, READ_BUFFER_SIZEEOF, UNKNOWN_SOURCE_NAME| Constructor | Description |
|---|---|
ANTLRFileStream(String fileName) |
Deprecated.
|
ANTLRFileStream(String fileName,
String encoding) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getSourceName() |
Deprecated.
Gets the name of the underlying symbol source.
|
void |
load(String fileName,
String encoding) |
Deprecated.
|
protected String fileName
public ANTLRFileStream(String fileName) throws IOException
IOExceptionpublic ANTLRFileStream(String fileName, String encoding) throws IOException
IOExceptionpublic void load(String fileName, String encoding) throws IOException
IOExceptionpublic String getSourceName()
IntStreamIntStream.UNKNOWN_SOURCE_NAME.getSourceName in interface IntStreamgetSourceName in class ANTLRInputStreamCopyright © 1992–2019 ANTLR. All rights reserved.