|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjava.io.Writer
java.io.FilterWriter
public abstract class FilterWriter
필터 처리된 문자 스트림을 위한 abstract 클래스입니다. abstract 클래스 FilterWriter
그 자체가, 포함되고 있는 스트림에 모든 요구를 건네주는 디폴트의 메소드를 제공합니다. FilterWriter
의 서브 클래스는, 이러한 메소드의 일부를 오버라이드(override) 해, 추가의 메소드나 필드를 제공할 수도 있습니다.
필드의 개요 | |
---|---|
protected Writer |
out
기본이 되는 문자 출력 스트림입니다. |
클래스 java.io. Writer 로부터 상속된 필드 |
---|
lock |
생성자 의 개요 | |
---|---|
protected |
FilterWriter (Writer out)
필터 처리된 새로운 라이터를 작성합니다. |
메소드의 개요 | |
---|---|
void |
close ()
스트림을 최초로 플래시 해, 닫습니다. |
void |
flush ()
스트림을 플래시 합니다. |
void |
write (char[] cbuf,
int off,
int len)
문자의 배열의 일부를 기입합니다. |
void |
write (int c)
단일의 문자를 기입합니다. |
void |
write (String str,
int off,
int len)
캐릭터 라인의 일부를 기입합니다. |
클래스 java.io. Writer 로부터 상속된 메소드 |
---|
append , append , append , write , write |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
필드의 상세 |
---|
protected Writer out
생성자 의 상세 |
---|
protected FilterWriter(Writer out)
out
- 기본이 되는 스트림을 제공하는 Writer 객체
NullPointerException
- out
가 null
의 경우메소드의 상세 |
---|
public void write(int c) throws IOException
Writer
내의 write
c
- 기입하는 문자를 지정하는 int
IOException
- 입출력 에러가 발생했을 경우public void write(char[] cbuf, int off, int len) throws IOException
Writer
내의 write
cbuf
- 기입하는 문자의 버퍼off
- 문자의 read 개시 오프셋(offset)len
- 기입하는 문자수
IOException
- 입출력 에러가 발생했을 경우public void write(String str, int off, int len) throws IOException
Writer
내의 write
str
- 기입해지는 캐릭터 라인off
- 문자의 read 개시 오프셋(offset)len
- 기입하는 문자수
IOException
- 입출력 에러가 발생했을 경우public void flush() throws IOException
Flushable
내의 flush
Writer
내의 flush
IOException
- 입출력 에러가 발생했을 경우public void close() throws IOException
Writer
의 기술:
Closeable
내의 close
Writer
내의 close
IOException
- 입출력 에러가 발생했을 경우
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.