|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jstacs.utils.galaxy.GalaxyAdaptor.Protocol
public static class GalaxyAdaptor.Protocol
Class for a Protocol writer.
Method Summary | |
---|---|
void |
append(String str)
Appends str to the protocol. |
void |
appendHeading(String str)
Append a heading to the protocol |
void |
appendWarning(String str)
Appends a warning to the protocol |
ByteArrayOutputStream |
getOutputStream()
Returns the ByteArrayOutputStream of this protocol |
PrintWriter |
getWriter()
Returns the PrintWriter of this protocol |
String |
toString()
Returns the current version of the protocol as String . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void append(String str)
str
to the protocol.
str
- the string to be appendedpublic PrintWriter getWriter()
PrintWriter
of this protocol
public ByteArrayOutputStream getOutputStream()
ByteArrayOutputStream
of this protocol
public void appendHeading(String str)
str
- the title of the headingpublic void appendWarning(String str)
str
- the warningpublic String toString()
String
.
toString
in class Object
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |