|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
de.intarsys.pdf.filter.ASCII85OutputStream
public class ASCII85OutputStream
Output stream to encode binary data with ASCII representable byte codes. The algorithm produces five ASCII printing characters from four bytes of binary data.
The exact specification can be found in [PDF] chapter 3.3.2.
Constructor Summary | |
---|---|
ASCII85OutputStream(OutputStream out)
Constructor. |
Method Summary | |
---|---|
void |
close()
|
void |
flush()
|
int |
getLineLength()
This will get the length of the line. |
void |
setLineLength(int l)
Set the line length. |
void |
write(byte[] b,
int off,
int sz)
|
void |
write(int b)
|
Methods inherited from class java.io.FilterOutputStream |
---|
write |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ASCII85OutputStream(OutputStream out)
out
- The output stream to write to.Method Detail |
---|
public void setLineLength(int l)
l
- The line length.public int getLineLength()
public final void flush() throws IOException
flush
in interface Flushable
flush
in class FilterOutputStream
IOException
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public final void write(byte[] b, int off, int sz) throws IOException
write
in class FilterOutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in class FilterOutputStream
IOException
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |