public class DataInput extends Object
| Constructor and Description |
|---|
DataInput(byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
void |
readFully(byte[] b) |
int |
readInt() |
String |
readLine() |
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
int |
skipBytes(int n) |
public int read()
throws IOException
IOExceptionpublic boolean readBoolean()
throws IOException
IOExceptionpublic byte readByte()
throws IOException
IOExceptionpublic char readChar()
throws IOException
IOExceptionpublic double readDouble()
throws IOException
IOExceptionpublic float readFloat()
throws IOException
IOExceptionpublic int readInt()
throws IOException
IOExceptionpublic String readLine() throws IOException
IOExceptionpublic long readLong()
throws IOException
IOExceptionpublic short readShort()
throws IOException
IOExceptionpublic String readUTF() throws IOException
IOExceptionpublic int readUnsignedByte()
throws IOException
IOExceptionpublic int readUnsignedShort()
throws IOException
IOExceptionpublic int skipBytes(int n)
throws IOException
IOExceptionpublic void readFully(byte[] b)
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.