public interface ReadableDataPipe
Modifier and Type | Method and Description |
---|---|
void |
close() |
DataInputStream |
getInputStream() |
boolean |
readBoolean() |
boolean[] |
readBooleanArray(boolean[] values) |
byte |
readByte() |
byte[] |
readByteArray(byte[] values) |
double |
readDouble() |
double[] |
readDoubleArray(double[] values) |
float |
readFloat() |
float[] |
readFloatArray(float[] values) |
int |
readInt() |
int[] |
readIntArray(int[] values) |
long |
readLong() |
long[] |
readLongArray(long[] values) |
short |
readShort() |
short[] |
readShortArray(short[] values) |
String |
readString()
Reads a string encoded in true UTF-8 format (not Java's modified UTF).
|
boolean readBoolean() throws IOException
IOException
byte readByte() throws IOException
IOException
short readShort() throws IOException
IOException
int readInt() throws IOException
IOException
long readLong() throws IOException
IOException
float readFloat() throws IOException
IOException
double readDouble() throws IOException
IOException
String readString() throws IOException
IOException
boolean[] readBooleanArray(boolean[] values) throws IOException
IOException
byte[] readByteArray(byte[] values) throws IOException
IOException
short[] readShortArray(short[] values) throws IOException
IOException
int[] readIntArray(int[] values) throws IOException
IOException
long[] readLongArray(long[] values) throws IOException
IOException
float[] readFloatArray(float[] values) throws IOException
IOException
double[] readDoubleArray(double[] values) throws IOException
IOException
void close() throws IOException
IOException
DataInputStream getInputStream()
Copyright © 2013 Metron, Inc.. All rights reserved.