public class DataInputStream extends FilterInputStream implements DataInput
in| Constructor and Description |
|---|
DataInputStream(InputStream var0) |
| Modifier and Type | Method and Description |
|---|---|
int |
read(byte[] var0) |
int |
read(byte[] var0,
int var1,
int var2) |
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
void |
readFully(byte[] var0) |
void |
readFully(byte[] var0,
int var1,
int var2) |
int |
readInt() |
String |
readLine()
Deprecated.
|
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
static String |
readUTF(DataInput var0) |
int |
skipBytes(int var0) |
readavailable, close, mark, markSupported, reset, skippublic DataInputStream(InputStream var0)
public final int read(byte[] var0)
throws IOException
read in class InputStreamIOExceptionpublic final int read(byte[] var0,
int var1,
int var2)
throws IOException
read in class InputStreamIOExceptionpublic final boolean readBoolean()
throws IOException
readBoolean in interface DataInputIOExceptionpublic final byte readByte()
throws IOException
readByte in interface DataInputIOExceptionpublic final char readChar()
throws IOException
readChar in interface DataInputIOExceptionpublic final double readDouble()
throws IOException
readDouble in interface DataInputIOExceptionpublic final float readFloat()
throws IOException
readFloat in interface DataInputIOExceptionpublic final void readFully(byte[] var0)
throws IOException
readFully in interface DataInputIOExceptionpublic final void readFully(byte[] var0,
int var1,
int var2)
throws IOException
readFully in interface DataInputIOExceptionpublic final int readInt()
throws IOException
readInt in interface DataInputIOExceptionpublic final String readLine() throws IOException
readLine in interface DataInputIOExceptionpublic final long readLong()
throws IOException
readLong in interface DataInputIOExceptionpublic final short readShort()
throws IOException
readShort in interface DataInputIOExceptionpublic final String readUTF() throws IOException
readUTF in interface DataInputIOExceptionpublic static final String readUTF(DataInput var0) throws IOException
IOExceptionpublic final int readUnsignedByte()
throws IOException
readUnsignedByte in interface DataInputIOExceptionpublic final int readUnsignedShort()
throws IOException
readUnsignedShort in interface DataInputIOExceptionpublic final int skipBytes(int var0)
throws IOException
skipBytes in interface DataInputIOException