Interface DataOutput
package java.io
public void write(int b) throws IOExceptionParameters:
b- 출력할 정보.
Throws:
IOException-
write
섹션 제목: “write”Parameters:
b- 출력할 바이트 배열.
Throws:
IOException-
write
섹션 제목: “write”Parameters:
len- 출력할 갯수.
Throws:
IOException-
writeBoolean
섹션 제목: “writeBoolean”Parameters:
v- 출력할 boolean변수.
Throws:
IOException-
writeByte
섹션 제목: “writeByte”Parameters:
v- 출력할 정보.
Throws:
IOException-
writeShort
섹션 제목: “writeShort”Parameters:
v- 출력할 정보.
Throws:
IOException-
writeChar
섹션 제목: “writeChar”Parameters:
v- 출력할 정보.
Throws:
IOException-
writeInt
섹션 제목: “writeInt”Parameters:
v- 출력할 정보.
Throws:
IOException-
writeLong
섹션 제목: “writeLong”Parameters:
v- 출력할 정보.
Throws:
IOException-
writeChars
섹션 제목: “writeChars”Parameters:
s- 출력할 문자열.
Throws:
IOException-
writeFloat
섹션 제목: “writeFloat”writeDouble
섹션 제목: “writeDouble”writeUTF
섹션 제목: “writeUTF”Parameters:
str- 출력할 문자열.
Throws:
-
IOException-## 메서드 요약 -
void write (byte[] b)— 바이트 배열 전체를 출력한다. -
void write (byte[] b, int off, int len)— 바이트 배열의 일부분을 출력한다. -
void write (int b)— 매개변수로 받은 변수 값 중 상위 24비트는 버리고 나머지 8비트만 출력한다. -
void writeBoolean (boolean v)— 매개변수 값이 true이면 1 false이면 0을 출력한다. -
void writeByte (int v)— 매개변수로 받은 변수 값 중 상위 24비트는 버리고 나머지 8비트만 출력한다. -
void writeChar (int v)— 매개변수로 받은 변수 값 중 상위 16비트는 버리고 8~15비트까지 출력하고 이어 하위 8비트를 출력한다. -
void writeChars ( String s)— 문자열을 구성하는 문자들을 인덱스 0 부터 차례대로 출력한다. -
void writeDouble (double v) -
void writeFloat (float v) -
void writeInt (int v)— 매개변수로 받은 변수 값 중 상위 8비트부터 차례대로 8비트 단위로 출력한다. -
void writeLong (long v)— 매개변수로 받은 변수 값 중 상위 8비트부터 차례대로 8비트 단위로 출력한다. -
void writeShort (int v)— 매개변수로 받은 변수 값 중 상위 16비트는 버리고 8~15비트까지 출력하고 이어 하위 8비트를 출력한다. -
void writeUTF ( String str)— 문자열을 UTF형식으로 바꿔 출력한다.
메서드 상세
섹션 제목: “메서드 상세”write
섹션 제목: “write”public void write(int b) throws IOExceptionParameters:
b- 출력할 정보.
Throws:
IOException-
write
섹션 제목: “write”public void write(byte[] b) throws IOExceptionParameters:
b- 출력할 바이트 배열.
Throws:
IOException-
write
섹션 제목: “write”public void write(byte[] b, int off, int len) throws IOExceptionParameters:
len- 출력할 갯수.
Throws:
IOException-
writeBoolean
섹션 제목: “writeBoolean”public void writeBoolean(boolean v) throws IOExceptionParameters:
v- 출력할 boolean변수.
Throws:
IOException-
writeByte
섹션 제목: “writeByte”public void writeByte(int v) throws IOExceptionParameters:
v- 출력할 정보.
Throws:
IOException-
writeShort
섹션 제목: “writeShort”public void writeShort(int v) throws IOExceptionParameters:
v- 출력할 정보.
Throws:
IOException-
writeChar
섹션 제목: “writeChar”public void writeChar(int v) throws IOExceptionParameters:
v- 출력할 정보.
Throws:
IOException-
writeInt
섹션 제목: “writeInt”public void writeInt(int v) throws IOExceptionParameters:
v- 출력할 정보.
Throws:
IOException-
writeLong
섹션 제목: “writeLong”public void writeLong(long v) throws IOExceptionParameters:
v- 출력할 정보.
Throws:
IOException-
writeChars
섹션 제목: “writeChars”public void writeChars(String s) throws IOExceptionParameters:
s- 출력할 문자열.
Throws:
IOException-
writeFloat
섹션 제목: “writeFloat”public void writeFloat(float v) throws IOExceptionwriteDouble
섹션 제목: “writeDouble”public void writeDouble(double v) throws IOExceptionwriteUTF
섹션 제목: “writeUTF”public void writeUTF(String str) throws IOExceptionParameters:
str- 출력할 문자열.
Throws:
IOException-
AromaSoft Corp. Proprietary and Confidential
(C)opyright 2003 AromaSoft Corp. All right reserved. Contact : contact@aromasoft.com