Interface DataInput
package java.io
public void readFully(byte[] b) throws IOExceptionParameters:
b- 읽은 정보를 저장할 배열.
Throws:
IOException-
readFully
섹션 제목: “readFully”Parameters:
len- 읽을 정보 갯수.
Throws:
IOException-
skipBytes
섹션 제목: “skipBytes”Parameters:
n- 건너 뛸 갯수.
Returns:
- 실제로 건너 뛴 갯수.
Throws:
IOException-
readBoolean
섹션 제목: “readBoolean”Returns:
- boolean 값.
Throws:
IOException-
readByte
섹션 제목: “readByte”Returns:
- 읽은 한 signed 바이트.
Throws:
IOException-
readUnsignedByte
섹션 제목: “readUnsignedByte”Returns:
- 읽은 한 unsigned 바이트가 변환된 정수값.
Throws:
IOException-
readShort
섹션 제목: “readShort”Returns:
- 읽은 signed short형 정보.
Throws:
IOException-
readUnsignedShort
섹션 제목: “readUnsignedShort”Returns:
- 읽은 두 unsigned short가 변환된 정수값.
Throws:
IOException-
readChar
섹션 제목: “readChar”Returns:
- 읽은 char형 정보.
Throws:
IOException-
readInt
섹션 제목: “readInt”Returns:
- 읽은 정수형 정보.
Throws:
IOException-
readLong
섹션 제목: “readLong”Returns:
- 읽은 Long형 정보.
Throws:
IOException-
readFloat
섹션 제목: “readFloat”readDouble
섹션 제목: “readDouble”readUTF
섹션 제목: “readUTF”Returns:
- 문자열.
Throws:
-
IOException-## 메서드 요약 -
boolean readBoolean ()— 입력 스트림에서 한 바이트를 읽은 뒤 0이 아니면 true 0이면 false를 리턴한다. -
byte readByte ()— 입력 스트림에서 한 바이트를 읽는다. -
char readChar ()— 입력 스트림에서 char형 정보를 읽는다. -
double readDouble () -
float readFloat () -
void readFully (byte[] b)— 바이트 배열로 정보를 읽는다. -
void readFully (byte[] b, int off, int len)— 바이트 배열 일부분으로 정보를 읽는다. -
int readInt ()— 입력 스트림에서 정수형 정보를 읽는다. -
long readLong ()— 입력 스트림에서 Long형 정보를 읽는다. -
short readShort ()— 입력 스트림에서 두 바이트를 읽는다. -
int readUnsignedByte ()— 입력 스트림에서 한 바이트를 읽고 unsigned 바이트로 처리해 정수형 정보로 변환 후 리턴한다. -
int readUnsignedShort ()— 입력 스트림에서 두 바이트를 읽고 unsigned short로 처리해 정수형 정보로 변환 후 리턴한다. -
String readUTF ()— 입력 스트림에서 UTF형식 정보를 읽어 문자열을 만들어 리턴한다. -
int skipBytes (int n)— 입력 스트림에서 정보를 읽지 않고 건너뛴다.
메서드 상세
섹션 제목: “메서드 상세”readFully
섹션 제목: “readFully”public void readFully(byte[] b) throws IOExceptionParameters:
b- 읽은 정보를 저장할 배열.
Throws:
IOException-
readFully
섹션 제목: “readFully”public void readFully(byte[] b, int off, int len) throws IOExceptionParameters:
len- 읽을 정보 갯수.
Throws:
IOException-
skipBytes
섹션 제목: “skipBytes”public int skipBytes(int n) throws IOExceptionParameters:
n- 건너 뛸 갯수.
Returns:
- 실제로 건너 뛴 갯수.
Throws:
IOException-
readBoolean
섹션 제목: “readBoolean”public boolean readBoolean() throws IOExceptionReturns:
- boolean 값.
Throws:
IOException-
readByte
섹션 제목: “readByte”public byte readByte() throws IOExceptionReturns:
- 읽은 한 signed 바이트.
Throws:
IOException-
readUnsignedByte
섹션 제목: “readUnsignedByte”public int readUnsignedByte() throws IOExceptionReturns:
- 읽은 한 unsigned 바이트가 변환된 정수값.
Throws:
IOException-
readShort
섹션 제목: “readShort”public short readShort() throws IOExceptionReturns:
- 읽은 signed short형 정보.
Throws:
IOException-
readUnsignedShort
섹션 제목: “readUnsignedShort”public int readUnsignedShort() throws IOExceptionReturns:
- 읽은 두 unsigned short가 변환된 정수값.
Throws:
IOException-
readChar
섹션 제목: “readChar”public char readChar() throws IOExceptionReturns:
- 읽은 char형 정보.
Throws:
IOException-
readInt
섹션 제목: “readInt”public int readInt() throws IOExceptionReturns:
- 읽은 정수형 정보.
Throws:
IOException-
readLong
섹션 제목: “readLong”public long readLong() throws IOExceptionReturns:
- 읽은 Long형 정보.
Throws:
IOException-
readFloat
섹션 제목: “readFloat”public float readFloat() throws IOExceptionreadDouble
섹션 제목: “readDouble”public double readDouble() throws IOExceptionreadUTF
섹션 제목: “readUTF”public String readUTF() throws IOExceptionReturns:
- 문자열.
Throws:
IOException-
AromaSoft Corp. Proprietary and Confidential
(C)opyright 2003 AromaSoft Corp. All right reserved. Contact : contact@aromasoft.com