|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.output.OWriter | +--xbn.output.OWEmpty
An OWriter where output is suppressed. The write and writeNoln functions (the only functions in this class) have exactly zero lines of code in their bodies.
Source code: OWEmpty.java. Example code See the example code for OWriter.
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
OWEmpty()
Create a DebugEmpty. |
Method Summary | |
boolean |
isActive()
Does this OWEmpty actually write output somewhere? |
void |
newln()
Does nothing. |
void |
write(String s_message)
Does nothing. |
void |
writeNoln(String s_message)
Does nothing. |
Methods inherited from class xbn.XBNObject |
getXMsgPrefix, sop, sopl, sopl, throwAX, throwAXIfBadStr, throwAXIfNull, throwAXSpoof |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OWEmpty()
Create a DebugEmpty.
Equal to OWriter(null)
Method Detail |
public void write(String s_message)
Does nothing. Has no lines of code.
write
in class OWriter
s_message
- Parameter is ignored.public void writeNoln(String s_message)
Does nothing. Has no lines of code.
writeNoln
in class OWriter
s_message
- Parameter is ignored.public void newln()
Does nothing. Has no lines of code.
newln
in class OWriter
public boolean isActive()
Does this OWEmpty actually write output somewhere?
isActive
in class OWriter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
http://sourceforge.net/projects/xbnjava