|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Sav.Z.Status | +--Sav.Z.WStatus
Prints Session's current process/database to
a PrintWriter
.
The "Users" database name will be printed in "MyControl.log" file after execution of the following fragment.
Session ss = new Session(); PrintWriter pw = new PrintWriter(new FileWriter("MyControl.log")); Status st = new WStatus(pw); ss.setDataBaseStatus(st); ss.z("$base \"Users\""); st.flush();
Session.setProcessStatus(Sav.Z.Status)
,
Session.setDataBaseStatus(Sav.Z.Status)
Fields inherited from class Sav.Z.Status |
content |
Constructor Summary | |
WStatus(java.io.PrintWriter pw)
Constructs a Status printed to a PrintWriter . |
Method Summary | |
void |
flush()
Flushes printable buffer area. |
void |
println(java.lang.String s)
Prints line of s string. |
Methods inherited from class Sav.Z.Status |
clear, date, get, set, useDate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WStatus(java.io.PrintWriter pw)
PrintWriter
.Method Detail |
public void println(java.lang.String s)
s
string.println
in class Status
Sav.Z.Status
Status.set(java.lang.String)
public void flush()
flush
in class Status
Sav.Z.Status
Status.clear()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |