Class Writer
package java.io
java.lang.Object | +--java.io.WriterDirect Known Subclasses:
OutputStreamWriter
extends Object:
Unicode로 된 내부 문자열을 KSC5601과 같은 형식의 문자열로 변환하여 출력하는 출력 스트림의 추상클래스
필드 요약
섹션 제목: “필드 요약”protected Object lock
생성자 요약
섹션 제목: “생성자 요약”protected Writer ()— 출력스트림을 생성한다.protected Writer ( Object lock)— 출력스트림을 생성한다.
메서드 요약
섹션 제목: “메서드 요약”abstract void close ()— 출력스트림을 닫는다.abstract void flush ()— 중간 버퍼에 남아있는 값을 실제로 출력한다.void write (char[] buf)— 문자배열을 출력한다.abstract void write (char[] buf, int offset, int len)— 문자배열을 출력한다.void write (int b)— 한문자를 출력한다.void write ( String str)— 문자열을 출력한다.void write ( String str, int offset, int len)— 문자열을 출력한다.
필드 상세
섹션 제목: “필드 상세”lock
섹션 제목: “lock”protected Object lockWriter
섹션 제목: “Writer”protected Writer()- 출력스트림을 생성한다. 동기화를 위한 lock은 자기자신을 사용한다.
Writer
섹션 제목: “Writer”protected Writer(Object lock)- 출력스트림을 생성한다. 동기화를 위한 lock은 매개변수로 받은 객체를 사용한다.
close
섹션 제목: “close”public abstract void close() throws IOExceptionThrows:
IOException-
flush
섹션 제목: “flush”public abstract void flush() throws IOExceptionThrows:
IOException-
write
섹션 제목: “write”public abstract void write(char[] buf, int offset, int len) throws IOExceptionParameters:
len- 출력할 문자 갯수.
Throws:
IOException-
write
섹션 제목: “write”public void write(char[] buf) throws IOExceptionParameters:
buf- 출력할 문자배열.
Throws:
IOException-
write
섹션 제목: “write”public void write(int b) throws IOExceptionParameters:
b- 출력할 문자.
Throws:
IOException-
write
섹션 제목: “write”public void write(String str) throws IOExceptionParameters:
str- 출력할 문자열.
Throws:
IOException-
write
섹션 제목: “write”public void write(String str, int offset, int len) throws IOExceptionParameters:
len- 출력할 문자 갯수.
Throws:
IOException-## 생성자 상세
Writer
섹션 제목: “Writer”protected Writer()- 출력스트림을 생성한다. 동기화를 위한 lock은 자기자신을 사용한다.
Writer
섹션 제목: “Writer”protected Writer(Object lock)- 출력스트림을 생성한다. 동기화를 위한 lock은 매개변수로 받은 객체를 사용한다.
close
섹션 제목: “close”public abstract void close() throws IOExceptionThrows:
IOException-
flush
섹션 제목: “flush”public abstract void flush() throws IOExceptionThrows:
IOException-
write
섹션 제목: “write”public abstract void write(char[] buf, int offset, int len) throws IOExceptionParameters:
len- 출력할 문자 갯수.
Throws:
IOException-
write
섹션 제목: “write”public void write(char[] buf) throws IOExceptionParameters:
buf- 출력할 문자배열.
Throws:
IOException-
write
섹션 제목: “write”public void write(int b) throws IOExceptionParameters:
b- 출력할 문자.
Throws:
IOException-
write
섹션 제목: “write”public void write(String str) throws IOExceptionParameters:
str- 출력할 문자열.
Throws:
IOException-
write
섹션 제목: “write”public void write(String str, int offset, int len) throws IOExceptionParameters:
len- 출력할 문자 갯수.
Throws:
IOException-## 메서드 상세
close
섹션 제목: “close”public abstract void close() throws IOExceptionThrows:
IOException-
flush
섹션 제목: “flush”public abstract void flush() throws IOExceptionThrows:
IOException-
write
섹션 제목: “write”public abstract void write(char[] buf, int offset, int len) throws IOExceptionParameters:
len- 출력할 문자 갯수.
Throws:
IOException-
write
섹션 제목: “write”public void write(char[] buf) throws IOExceptionParameters:
buf- 출력할 문자배열.
Throws:
IOException-
write
섹션 제목: “write”public void write(int b) throws IOExceptionParameters:
b- 출력할 문자.
Throws:
IOException-
write
섹션 제목: “write”public void write(String str) throws IOExceptionParameters:
str- 출력할 문자열.
Throws:
IOException-
write
섹션 제목: “write”public void write(String str, 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