public final class RtfNilOutputStream
extends java.io.OutputStream
Modifier and Type | Field and Description |
---|---|
private long |
size
The number of bytes theoretically written is stored.
|
Constructor and Description |
---|
RtfNilOutputStream()
Constructs a new
RtfNilOutputStream . |
Modifier and Type | Method and Description |
---|---|
long |
getSize()
Gets the number of bytes that were written.
|
void |
write(byte[] b,
int off,
int len)
Write a
byte[] . |
void |
write(int b)
Write an int.
|
public RtfNilOutputStream()
RtfNilOutputStream
.public long getSize()
public void write(int b)
write
in class java.io.OutputStream
public void write(byte[] b, int off, int len)
byte[]
. The size is incremented, but the actual data is thrown away.write
in class java.io.OutputStream