Class OutputStreamWriter
package java.io
java.lang.Object | +--java.io.Writer | +--java.io.OutputStreamWriterextends Writer:
Unicode로 된 내부 문자열을 KSC5601과 같은 형식의 문자열로 변환하여 출력하는 출력 스트림이다.
Fields inherited from class java.io. Writer lock
Constructor Summary OutputStreamWriter ( OutputStream out) 새로운 출력스트림을 생성한다. OutputStreamWriter ( OutputStream out, String encoding_scheme) 새로운 출력스트림을 생성한다.
Method Summary void close () 출력스트림을 닫는다. void flush () 출력된 정보 중 중간 버퍼에 남아있는 내용을 모두 실제로 출력한다. void write (char c) 한 문자를 출력한다. void write (char[] buf, int offset, int len) 문자배열을 출력한다. void write (int c) 정수형 값을 출력한다. void write ( String str, int offset, int len) 문자열을 출력한다.
Methods inherited from class java.io. Writer write , write
Methods inherited from class java.lang. Object equals , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Detail
OutputStreamWriter
섹션 제목: “OutputStreamWriter”Parameters:
out- 인코딩된 문자열이 실제 출력될 스트림.
OutputStreamWriter
섹션 제목: “OutputStreamWriter”Parameters:
encoding_scheme- 인코딩 방식
Throws:
UnsupportedEncodingException- 지원하지 않는 인코딩 방식.
Method Detail
close
섹션 제목: “close”Overrides:
closein classWriter
Throws:
IOException-
flush
섹션 제목: “flush”Overrides:
flushin classWriter
Throws:
IOException-
write
섹션 제목: “write”Parameters:
c- 출력할 문자열.
Throws:
IOException-
write
섹션 제목: “write”Overrides:
writein classWriter
Parameters:
c- 출력할 정수 값.
Throws:
IOException-
write
섹션 제목: “write”Overrides:
writein classWriter
Parameters:
len- 출력할 문자 갯수.
Throws:
IOException-
write
섹션 제목: “write”Overrides:
writein classWriter
Parameters:
len- 출력할 문자 갯수.
Throws:
-
IOException-## 생성자 요약 -
OutputStreamWriter ( OutputStream out) 새로운 출력스트림을 생성한다.
-
OutputStreamWriter ( OutputStream out, String encoding_scheme) 새로운 출력스트림을 생성한다.
메서드 요약
섹션 제목: “메서드 요약”void close ()— 출력스트림을 닫는다.void flush ()— 출력된 정보 중 중간 버퍼에 남아있는 내용을 모두 실제로 출력한다.void write (char c)— 한 문자를 출력한다.void write (char[] buf, int offset, int len)— 문자배열을 출력한다.void write (int c)— 정수형 값을 출력한다.void write ( String str, int offset, int len)— 문자열을 출력한다.
생성자 상세
섹션 제목: “생성자 상세”OutputStreamWriter
섹션 제목: “OutputStreamWriter”public OutputStreamWriter(OutputStream out)Parameters:
out- 인코딩된 문자열이 실제 출력될 스트림.
OutputStreamWriter
섹션 제목: “OutputStreamWriter”public OutputStreamWriter(OutputStream out, String encoding_scheme) throws UnsupportedEncodingExceptionParameters:
encoding_scheme- 인코딩 방식
Throws:
UnsupportedEncodingException- 지원하지 않는 인코딩 방식.
close
섹션 제목: “close”public void close() throws IOExceptionOverrides:
closein classWriter
Throws:
IOException-
flush
섹션 제목: “flush”public void flush() throws IOExceptionOverrides:
flushin classWriter
Throws:
IOException-
write
섹션 제목: “write”public void write(char c) throws IOExceptionParameters:
c- 출력할 문자열.
Throws:
IOException-
write
섹션 제목: “write”public void write(int c) throws IOExceptionOverrides:
writein classWriter
Parameters:
c- 출력할 정수 값.
Throws:
IOException-
write
섹션 제목: “write”public void write(char[] buf, int offset, int len) throws IOExceptionOverrides:
writein classWriter
Parameters:
len- 출력할 문자 갯수.
Throws:
IOException-
write
섹션 제목: “write”public void write(String str, int offset, int len) throws IOExceptionOverrides:
writein classWriter
Parameters:
len- 출력할 문자 갯수.
Throws:
IOException-## 메서드 상세
close
섹션 제목: “close”public void close() throws IOExceptionOverrides:
closein classWriter
Throws:
IOException-
flush
섹션 제목: “flush”public void flush() throws IOExceptionOverrides:
flushin classWriter
Throws:
IOException-
write
섹션 제목: “write”public void write(char c) throws IOExceptionParameters:
c- 출력할 문자열.
Throws:
IOException-
write
섹션 제목: “write”public void write(int c) throws IOExceptionOverrides:
writein classWriter
Parameters:
c- 출력할 정수 값.
Throws:
IOException-
write
섹션 제목: “write”public void write(char[] buf, int offset, int len) throws IOExceptionOverrides:
writein classWriter
Parameters:
len- 출력할 문자 갯수.
Throws:
IOException-
write
섹션 제목: “write”public void write(String str, int offset, int len) throws IOExceptionOverrides:
writein classWriter
Parameters:
len- 출력할 문자 갯수.
Throws:
IOException-
AromaSoft Corp. Proprietary and Confidential
(C)opyright 2003 AromaSoft Corp. All right reserved. Contact : contact@aromasoft.com