public interface DataInputExtended extends DataInput
| Modifier and Type | Method and Description |
|---|---|
DataInputStream |
getDataInputStream()
Underlying
DataInputStream to read in primitives. |
boolean[] |
readBooleans() |
byte[] |
readBytes() |
char[] |
readChars() |
double[] |
readDoubles() |
<T> T |
readEncodable(Class<T> encodableType) |
<T> T[] |
readEncodables(Class<T> elementType) |
float[] |
readFloats() |
int[] |
readInts() |
long[] |
readLongs() |
<T> T |
readSerializable(Class<T> serializableType) |
<T> T[] |
readSerializables(Class<T> elementType) |
short[] |
readShorts() |
String[] |
readUTFs() |
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytesboolean[] readBooleans() throws IOException
IOExceptionchar[] readChars() throws IOException
IOExceptionbyte[] readBytes() throws IOException
IOExceptionshort[] readShorts() throws IOException
IOExceptionint[] readInts() throws IOException
IOExceptionlong[] readLongs() throws IOException
IOExceptionfloat[] readFloats() throws IOException
IOExceptiondouble[] readDoubles() throws IOException
IOExceptionString[] readUTFs() throws IOException
IOException<T> T readEncodable(Class<T> encodableType) throws IOException
IOException<T> T[] readEncodables(Class<T> elementType) throws IOException
IOException<T> T readSerializable(Class<T> serializableType) throws IOException
IOException<T> T[] readSerializables(Class<T> elementType) throws IOException
IOExceptionDataInputStream getDataInputStream()
DataInputStream to read in primitives.Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.