|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.guacamole.io.WriterGuacamoleWriter
public class WriterGuacamoleWriter
A GuacamoleWriter which wraps a standard Java Writer, using that Writer as the Guacamole instruction stream.
| Constructor Summary | |
|---|---|
WriterGuacamoleWriter(Writer output)
Creates a new WriterGuacamoleWriter which will use the given Writer as the Guacamole instruction stream. |
|
| Method Summary | |
|---|---|
void |
write(char[] chunk)
Writes the entire given array of characters to the Guacamole instruction stream. |
void |
write(char[] chunk,
int off,
int len)
Writes a portion of the given array of characters to the Guacamole instruction stream. |
void |
writeInstruction(GuacamoleInstruction instruction)
Writes the given fully parsed instruction to the Guacamole instruction stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WriterGuacamoleWriter(Writer output)
output - The Writer to use as the Guacamole instruction stream.| Method Detail |
|---|
public void write(char[] chunk,
int off,
int len)
throws GuacamoleException
GuacamoleWriter
write in interface GuacamoleWriterchunk - An array of characters containing Guacamole instructions.off - The start offset of the portion of the array to write.len - The length of the portion of the array to write.
GuacamoleException - If an error occurred while writing the
portion of the array specified.
public void write(char[] chunk)
throws GuacamoleException
GuacamoleWriter
write in interface GuacamoleWriterchunk - An array of characters consisting only of complete
Guacamole instructions.
GuacamoleException - If an error occurred while writing the
the specified array.
public void writeInstruction(GuacamoleInstruction instruction)
throws GuacamoleException
GuacamoleWriter
writeInstruction in interface GuacamoleWriterinstruction - The Guacamole instruction to write.
GuacamoleException - If an error occurred while writing the
instruction.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||