public class TXTStream extends Object
Constructor and Description |
---|
TXTStream(OutputStream os)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(String str)
Adds a String to the OutputStream
|
void |
setDoOutput(boolean doout)
Controls whether output is actually written.
|
void |
setEncoding(String encoding)
Set the encoding for the text stream.
|
public TXTStream(OutputStream os)
os
- OutputStream to write topublic void add(String str)
str
- String to addpublic void setDoOutput(boolean doout)
doout
- true to enable output, false to suppresspublic void setEncoding(String encoding)
encoding
- the encoding, if null, "UTF-8" is chosen as defaultCopyright © 2025 Apache Software Foundation. All rights reserved.