public final class Read extends CommandBase
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
Name |
| Constructor and Description |
|---|
Read(java.lang.String path)
Create a "read" command.
|
| Modifier and Type | Method and Description |
|---|---|
void |
printCore(java.io.PrintWriter out)
Prints text representation on out (without new line termination).
|
void |
process()
Process command "read": only executed in declaration mode.
|
getName, toCommand, toNode, toStringpublic static final java.lang.String Name
public Read(java.lang.String path)
path - the path of the file to be read.public void process()
public void printCore(java.io.PrintWriter out)
printCore in class CommandBaseout - the stream on which the text is written