Class OutputStreamProtected
- java.lang.Object
-
- net.sourceforge.plantuml.code.deflate.OutputStreamProtected
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class OutputStreamProtected extends java.lang.Object implements java.io.Closeable
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_OUTPUT_SIZE
-
Constructor Summary
Constructors Constructor Description OutputStreamProtected()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
byte[]
toByteArray()
void
write(int b)
-
-
-
Field Detail
-
MAX_OUTPUT_SIZE
public static final int MAX_OUTPUT_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
toByteArray
public byte[] toByteArray()
-
write
public void write(int b) throws java.io.IOException
- Throws:
java.io.IOException
-
-