|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.larsan.urd.cmd.CmdWriterImpl
A writer object for the command line server. This class uses canonical line breaks.
CmdWriter| Constructor Summary | |
CmdWriterImpl(java.nio.channels.SocketChannel channel)
|
|
| Method Summary | |
void |
commit()
Commit result to output channel. |
void |
print(java.lang.String str)
Write a string. |
void |
println()
Write empty new line. |
void |
println(java.lang.String str)
Write a string followed by a new line. |
void |
write(CmdTable table)
Write a table to the output. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CmdWriterImpl(java.nio.channels.SocketChannel channel)
| Method Detail |
public void print(java.lang.String str)
print in interface CmdWriterpublic void println(java.lang.String str)
println in interface CmdWriterpublic void println()
println in interface CmdWriterpublic void commit()
commit in interface CmdWriterpublic void write(CmdTable table)
write in interface CmdWritertable - Table to write, nust not be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||