Class EscapedOutputStream
java.lang.Object
java.io.OutputStream
net.ME1312.SubData.Client.Library.EscapedOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Escaped OutputStream Class
-
Constructor Summary
ConstructorsConstructorDescriptionEscapedOutputStream(OutputStream stream, int escape, int... controls) Creates an OutputStream with escaped controls -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write, write
-
Constructor Details
-
EscapedOutputStream
Creates an OutputStream with escaped controls- Parameters:
stream- Super streamescape- Escape datacontrols- Control data
-
-
Method Details
-
write
Write data to the stream- Specified by:
writein classOutputStream- Parameters:
b- Data- Throws:
IOException
-
control
Write control data to the stream- Parameters:
b- Control Data- Throws:
IOException
-
flush
Flush the stream- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
Close the stream- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-