|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes the container for all data of an interpreter context.
Method Summary | |
InFile |
getInFile(java.lang.String name)
Getter for a input file register. |
OutFile |
getOutFile(java.lang.String name)
Getter for an output file descriptor. |
void |
setInFile(java.lang.String name,
InFile file,
boolean global)
Setter for the InFile
register in all requested groups. |
void |
setOutFile(java.lang.String name,
OutFile file,
boolean global)
Setter for a outfile descriptor. |
Method Detail |
public InFile getInFile(java.lang.String name)
null
then the default input stream is used.
name
- the name or the number of the file register
setInFile(String, InFile, boolean)
public OutFile getOutFile(java.lang.String name)
name
- the name or the number of the file register
setOutFile(String, OutFile, boolean)
public void setInFile(java.lang.String name, InFile file, boolean global)
InFile
register in all requested groups. InFile registers are named, either with
a number or an arbitrary string. The numbered registers where limited to
16 in
name
- the name or the number of the file registerfile
- the input file descriptorglobal
- the indicator for the scope; true
means all
groups; otherwise the current group is affected onlygetInFile(String)
public void setOutFile(java.lang.String name, OutFile file, boolean global)
name
- the name or the number of the file registerfile
- the descriptor of the output fileglobal
- the indicator for the scope; true
means all
groups; otherwise the current group is affected onlygetOutFile(String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |