|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectua.gradsoft.termware.envs.SystemEnv
public class SystemEnv
environment, which write output to System.out ,
read input from System.in and write log to System.err
| Constructor Summary | |
|---|---|
SystemEnv()
|
|
| Method Summary | |
|---|---|
void |
close()
flush output and error stream |
Reader |
getInput()
return System.in |
PrintWriter |
getLog()
return System.err |
PrintWriter |
getOutput()
return System.out |
void |
show(TermWareException ex)
print exceptions on standard output. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemEnv()
| Method Detail |
|---|
public PrintWriter getOutput()
getOutput in interface IEnvpublic Reader getInput()
getInput in interface IEnvpublic PrintWriter getLog()
getLog in interface IEnvpublic void show(TermWareException ex)
show in interface IEnvpublic void close()
close in interface IEnv
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||