Source which lexes a file.
The input is buffered.
Source
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public File | |
| public String | getName()
Overrides com. |
| public String | getPath()
Overrides com. |
| public String |
| file | back to summary |
|---|---|
| private final File file | |
| path | back to summary |
|---|---|
| private final String path | |
| FileLexerSource | back to summary |
|---|---|
| public FileLexerSource(File file, String path) throws IOException Creates a new Source for lexing the given File. Preprocessor directives are honoured within the file. | |
| FileLexerSource | back to summary |
|---|---|
| public FileLexerSource(File file) throws IOException | |
| FileLexerSource | back to summary |
|---|---|
| public FileLexerSource(String path) throws IOException | |
| getFile | back to summary |
|---|---|
public File getFile()
| |
| getName | back to summary |
|---|---|
| public String getName() Overrides com. Doc from com. Returns the human-readable name of the current Source.
| |
| getPath | back to summary |
|---|---|
| public String getPath() Overrides com. This is not necessarily the same as getFile().getPath() in case we are in a chroot.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |