public interface WritableDataPipe
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
DataOutputStream |
getOutputStream() |
void |
writeBoolean(boolean value) |
void |
writeBooleanArray(boolean[] values) |
void |
writeByte(byte value) |
void |
writeByteArray(byte[] values) |
void |
writeDouble(double value) |
void |
writeDoubleArray(double[] values) |
void |
writeFloat(float value) |
void |
writeFloatArray(float[] values) |
void |
writeInt(int value) |
void |
writeIntArray(int[] values) |
void |
writeLong(long value) |
void |
writeLongArray(long[] values) |
void |
writeShort(short value) |
void |
writeShortArray(short[] values) |
void |
writeString(String value)
Writes a string encoded in true UTF-8 format (not Java's modified UTF).
|
void writeBoolean(boolean value) throws IOException
IOException
void writeByte(byte value) throws IOException
IOException
void writeShort(short value) throws IOException
IOException
void writeInt(int value) throws IOException
IOException
void writeLong(long value) throws IOException
IOException
void writeFloat(float value) throws IOException
IOException
void writeDouble(double value) throws IOException
IOException
void writeString(String value) throws IOException
IOException
void writeBooleanArray(boolean[] values) throws IOException
IOException
void writeByteArray(byte[] values) throws IOException
IOException
void writeShortArray(short[] values) throws IOException
IOException
void writeIntArray(int[] values) throws IOException
IOException
void writeLongArray(long[] values) throws IOException
IOException
void writeFloatArray(float[] values) throws IOException
IOException
void writeDoubleArray(double[] values) throws IOException
IOException
void close() throws IOException
IOException
void flush() throws IOException
IOException
DataOutputStream getOutputStream()
Copyright © 2016 Metron, Inc.. All rights reserved.