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