콘텐츠로 이동

Interface DataOutput

package java.io

public void write(int b)
throws IOException

Parameters:

  • b - 출력할 정보.

Throws:

  • IOException -

Parameters:

  • b - 출력할 바이트 배열.

Throws:

  • IOException -

Parameters:

  • len - 출력할 갯수.

Throws:

  • IOException -

Parameters:

  • v - 출력할 boolean변수.

Throws:

  • IOException -

Parameters:

  • v - 출력할 정보.

Throws:

  • IOException -

Parameters:

  • v - 출력할 정보.

Throws:

  • IOException -

Parameters:

  • v - 출력할 정보.

Throws:

  • IOException -

Parameters:

  • v - 출력할 정보.

Throws:

  • IOException -

Parameters:

  • v - 출력할 정보.

Throws:

  • IOException -

Parameters:

  • s - 출력할 문자열.

Throws:

  • IOException -

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형식으로 바꿔 출력한다.

public void write(int b)
throws IOException

Parameters:

  • b - 출력할 정보.

Throws:

  • IOException -
public void write(byte[] b)
throws IOException

Parameters:

  • b - 출력할 바이트 배열.

Throws:

  • IOException -
public void write(byte[] b,
int off,
int len)
throws IOException

Parameters:

  • len - 출력할 갯수.

Throws:

  • IOException -
public void writeBoolean(boolean v)
throws IOException

Parameters:

  • v - 출력할 boolean변수.

Throws:

  • IOException -
public void writeByte(int v)
throws IOException

Parameters:

  • v - 출력할 정보.

Throws:

  • IOException -
public void writeShort(int v)
throws IOException

Parameters:

  • v - 출력할 정보.

Throws:

  • IOException -
public void writeChar(int v)
throws IOException

Parameters:

  • v - 출력할 정보.

Throws:

  • IOException -
public void writeInt(int v)
throws IOException

Parameters:

  • v - 출력할 정보.

Throws:

  • IOException -
public void writeLong(long v)
throws IOException

Parameters:

  • v - 출력할 정보.

Throws:

  • IOException -
public void writeChars(String s)
throws IOException

Parameters:

  • s - 출력할 문자열.

Throws:

  • IOException -
public void writeFloat(float v)
throws IOException
public void writeDouble(double v)
throws IOException
public void writeUTF(String str)
throws IOException

Parameters:

  • str - 출력할 문자열.

Throws:

  • IOException -

AromaSoft Corp. Proprietary and Confidential

(C)opyright 2003 AromaSoft Corp. All right reserved. Contact : contact@aromasoft.com