public class ASCII85OutputStream extends FilterOutputStream
out
Constructor and Description |
---|
ASCII85OutputStream(OutputStream out)
Constructor.
|
Modifier and Type | Method and 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.
|
write, write
public ASCII85OutputStream(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 IOException
write
in class FilterOutputStream
b
- The byte to write.IOException
- If there is an error writing to the stream.public final void flush() throws IOException
flush
in interface Flushable
flush
in class FilterOutputStream
IOException
- If there is an error writing the data to the stream.public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
- If there is an error closing the wrapped stream.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.