Class OutputStream
package java.io
java.lang.Object | +--java.io.OutputStreamDirect Known Subclasses:
ByteArrayOutputStream,DataOutputStream,PrintStream
extends Object:
출력 스트림들이 상속받아야 할 추상 클래스.
생성자 요약
섹션 제목: “생성자 요약”- OutputStream () 새로운 객체를 생성한다.
메서드 요약
섹션 제목: “메서드 요약”void close ()— 출력 스트림을 닫는다.void flush ()— 중간 버퍼에 남아있는 정보들을 실제 출력한다.void write (byte[] buf)— 바이트 배열을 출력한다.void write (byte[] buf, int offset, int len)— 바이트 배열의 일부분을 출력한다.abstract void write (int b)— 매개변수로 받은 변수 값 중 상위 24비트는 버리고 나머지 8비트만 출력한다.
생성자 상세
섹션 제목: “생성자 상세”OutputStream
섹션 제목: “OutputStream”public OutputStream()- 새로운 객체를 생성한다.
flush
섹션 제목: “flush”public void flush() throws IOExceptionThrows:
IOException-
close
섹션 제목: “close”public void close() throws IOExceptionThrows:
IOException-
write
섹션 제목: “write”public abstract void write(int b) throws IOExceptionParameters:
b- 출력할 정보.
Throws:
IOException-
write
섹션 제목: “write”public void write(byte[] buf) throws IOExceptionParameters:
buf- 출력할 바이트 배열.
Throws:
IOException-
write
섹션 제목: “write”public void write(byte[] buf, int offset, int len) throws IOExceptionParameters:
len- 출력할 갯수.
Throws:
IOException-## 메서드 상세
flush
섹션 제목: “flush”public void flush() throws IOExceptionThrows:
IOException-
close
섹션 제목: “close”public void close() throws IOExceptionThrows:
IOException-
write
섹션 제목: “write”public abstract void write(int b) throws IOExceptionParameters:
b- 출력할 정보.
Throws:
IOException-
write
섹션 제목: “write”public void write(byte[] buf) throws IOExceptionParameters:
buf- 출력할 바이트 배열.
Throws:
IOException-
write
섹션 제목: “write”public void write(byte[] buf, int offset, int len) throws IOExceptionParameters:
len- 출력할 갯수.
Throws:
IOException-
AromaSoft Corp. Proprietary and Confidential
(C)opyright 2003 AromaSoft Corp. All right reserved. Contact : contact@aromasoft.com