Deprecated
as of 4.7 Please use CharStreams interface.
ANTLRInputStream that is loaded from a file all at once
when you construct the object.
| Modifier and Type | Field and Description |
|---|---|
| protected String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getSourceName()
Overrides org. Implements org. |
| public void |
| fileName | back to summary |
|---|---|
| protected String fileName | |
| ANTLRFileStream | back to summary |
|---|---|
| public ANTLRFileStream(String fileName) throws IOException | |
| ANTLRFileStream | back to summary |
|---|---|
| public ANTLRFileStream(String fileName, String encoding) throws IOException | |
| getSourceName | back to summary |
|---|---|
| public String getSourceName() Overrides org. Implements org. Doc from org. Gets the name of the underlying symbol source. This method returns a
non-null, non-empty string. If such a name is not known, this method
returns
| |
| load | back to summary |
|---|---|
| public void load(String fileName, String encoding) throws IOException | |