|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
org.freehep.util.io.ASCII85OutputStream
public class ASCII85OutputStream
The ASCII85InputStream encodes binary data as ASCII base-85 encoding. The exact definition of ASCII base-85 encoding can be found in the PostScript Language Reference (3rd ed.) chapter 3.13.3.
| Field Summary |
|---|
| Fields inherited from class java.io.FilterOutputStream |
|---|
out |
| Fields inherited from interface org.freehep.util.io.ASCII85 |
|---|
a85p1, a85p2, a85p3, a85p4, MAX_CHARS_PER_LINE |
| Constructor Summary | |
|---|---|
ASCII85OutputStream(OutputStream out)
Create an ASCII85 Output Stream from given stream |
|
| Method Summary | |
|---|---|
void |
close()
|
void |
finish()
Finishes the current outputstream (compresses, flushes, caluclates CRC) and writes whatever is left in the buffers, but does not close the stream. |
void |
write(int a)
|
| Methods inherited from class java.io.FilterOutputStream |
|---|
flush, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ASCII85OutputStream(OutputStream out)
out - output stream to use| Method Detail |
|---|
public void write(int a)
throws IOException
write in class FilterOutputStreamIOException
public void finish()
throws IOException
FinishableOutputStream
finish in interface FinishableOutputStreamIOException - if write fails
public void close()
throws IOException
close in interface Closeableclose in class FilterOutputStreamIOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||