java.io
クラス FilterWriter
java.lang.Object
|
+--java.io.Writer
|
+--java.io.FilterWriter
- public abstract class FilterWriter
- extends Writer
フィルタ処理された文字ストリームのための抽象クラスです。
- 導入されたバージョン:
- JDK1.1
フィールドの概要 |
protected Writer |
out
基礎の文字出力ストリームです。 |
メソッドの概要 |
void |
close()
ストリームを閉じます。 |
void |
flush()
ストリームをフラッシュします。 |
void |
write(char[] cbuf,
int off,
int len)
文字配列の一部を書き込みます。 |
void |
write(int c)
1 個の文字を書き込みます。 |
void |
write(String str,
int off,
int len)
文字列の一部を書き込みます。 |
クラス java.lang.Object から継承したメソッド |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
out
protected Writer out
- 基礎の文字出力ストリームです。
FilterWriter
protected FilterWriter(Writer out)
- フィルタ処理された新しいライターを作成します。
write
public void write(int c)
throws IOException
- 1 個の文字を書き込みます。
- 例外:
- IOException - 入出力エラーが発生した場合
- オーバーライド:
- クラス Writer 内の write
write
public void write(char[] cbuf,
int off,
int len)
throws IOException
- 文字配列の一部を書き込みます。
- パラメータ:
cbuf
- 書き込む文字バッファoff
- 文字の書き込み開始オフセットlen
- 書き込む文字数- 例外:
- IOException - 入出力エラーが発生した場合
- オーバーライド:
- クラス Writer 内の write
write
public void write(String str,
int off,
int len)
throws IOException
- 文字列の一部を書き込みます。
- パラメータ:
str
- 書き込む文字列off
- 文字の読み込み開始オフセットlen
- 書き込む文字数- 例外:
- IOException - 入出力エラーが発生した場合
- オーバーライド:
- クラス Writer 内の write
flush
public void flush()
throws IOException
- ストリームをフラッシュします。
- 例外:
- IOException - 入出力エラーが発生した場合
- オーバーライド:
- クラス Writer 内の flush
close
public void close()
throws IOException
- ストリームを閉じます。
- 例外:
- IOException - 入出力エラーが発生した場合
- オーバーライド:
- クラス Writer 内の close
バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.