|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.render.txt.TXTStream
public class TXTStream
OutputStream
wrapper used by TXTRenderer
.
Constructor Summary | |
---|---|
TXTStream(OutputStream os)
Constructor. |
Method Summary | |
---|---|
void |
add(String str)
Write some text to this stream. |
void |
setDoOutput(boolean doout)
Set the flag that indicates whether text should be written. |
void |
setEncoding(Charset encoding)
Set the encoding to be used by this stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TXTStream(OutputStream os)
os
- The OutputStream wrapped by this instance.Method Detail |
---|
public void add(String str)
str
- The text to be written.public void setDoOutput(boolean doout)
doout
- Set to true iff text should be written.public void setEncoding(Charset encoding)
encoding
- The new encoding.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |