public class StreamWriter
extends java.lang.Object
Constructor and Description |
---|
StreamWriter(java.io.ByteArrayOutputStream stream) |
StreamWriter(MemoryStream stream) |
Modifier and Type | Method and Description |
---|---|
void |
Flush()
Flushes string that are written.
|
void |
Write(byte[] byteBuffer)
Each call to Write with a byte array will deep copy the byte buffer, so call this method infrequently.
|
void |
Write(MemoryStream memStream)
Each call to Write with a byte array will deep copy the byte buffer, so call this method infrequently.
|
void |
Write(java.lang.String str)
Writes strings.
|
void |
WriteLine()
Does not flush the buffer.
|
void |
WriteLine(java.lang.String str)
Does not flush the buffer.
|
public StreamWriter(java.io.ByteArrayOutputStream stream)
public StreamWriter(MemoryStream stream)
public void WriteLine(java.lang.String str)
str
- public void WriteLine()
public void Write(java.lang.String str)
str
- public void Flush()
public void Write(byte[] byteBuffer)
byteBuffer
- public void Write(MemoryStream memStream)
memStream
-