Class Payload
- java.lang.Object
-
- java.io.OutputStream
-
- de.erichseifert.vectorgraphics2d.pdf.Payload
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
class Payload extends java.io.OutputStream
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.ByteArrayOutputStreambyteStreamprivate booleanemptyprivate java.io.OutputStreamfilteredStream
-
Constructor Summary
Constructors Constructor Description Payload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFilter(java.lang.Class<FlateEncodeStream> filterClass)voidclose()byte[]getBytes()booleanisEmpty()voidwrite(int b)
-
-
-
Method Detail
-
getBytes
public byte[] getBytes()
-
write
public void write(int b) throws java.io.IOException- Specified by:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
isEmpty
public boolean isEmpty()
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.OutputStream- Throws:
java.io.IOException
-
addFilter
public void addFilter(java.lang.Class<FlateEncodeStream> filterClass)
-
-