java.io.Closeable, java.io.Flushable, java.lang.AutoCloseablepublic class ASCII85OutputStream
extends java.io.FilterOutputStream
| Constructor | Description |
|---|---|
ASCII85OutputStream(java.io.OutputStream out) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
This will close the stream.
|
void |
flush() |
This will flush the data to the stream.
|
int |
getLineLength() |
This will get the length of the line.
|
char |
getTerminator() |
This will get the terminating character.
|
void |
setLineLength(int l) |
This will set the line length that will be used.
|
void |
setTerminator(char term) |
This will set the terminating character.
|
void |
write(int b) |
This will write a single byte.
|
public ASCII85OutputStream(java.io.OutputStream out)
out - The output stream to write to.public void setTerminator(char term)
term - The terminating character.public char getTerminator()
public void setLineLength(int l)
l - The length of the line to use.public int getLineLength()
public final void write(int b)
throws java.io.IOException
write in class java.io.FilterOutputStreamb - The byte to write.java.io.IOException - If there is an error writing to the stream.public final void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.FilterOutputStreamjava.io.IOException - If there is an error writing the data to the stream.public void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeableclose in class java.io.FilterOutputStreamjava.io.IOException - If there is an error closing the wrapped stream.