Class Payload
java.lang.Object
java.io.OutputStream
de.erichseifert.vectorgraphics2d.pdf.Payload
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ByteArrayOutputStreamprivate booleanprivate OutputStream -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write, write
-
Field Details
-
byteStream
-
filteredStream
-
empty
private boolean empty
-
-
Constructor Details
-
Payload
public Payload()
-
-
Method Details
-
getBytes
public byte[] getBytes() -
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
isEmpty
public boolean isEmpty() -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
addFilter
-