|
Kagetaka | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
net.hizlab.kagetaka.io.TextOutputStream
文字列も出力できるストリームです。
| フィールドの概要 |
| クラス java.io.FilterOutputStream から継承したフィールド |
out |
| コンストラクタの概要 | |
TextOutputStream(OutputStream out,
String encoding)
指定したエンコーディングで文字列を出力するストリームを作成します。 |
|
| メソッドの概要 | |
void |
close()
クローズします。 |
void |
flush()
ストリームをフラッシュします。 |
String |
getEncoding()
現在の文字列エンコーディングを返します。 |
void |
write(byte[] b,
int off,
int len)
バイト列を出力します。 |
void |
write(char c)
単独文字を出力します。 |
void |
write(char[] cbuf,
int off,
int len)
文字の配列を出力します。 |
void |
write(int b)
バイトデータを出力します。 |
void |
write(String s)
文字列を出力します。 |
void |
write(String s,
int off,
int len)
文字列を出力します。 |
| クラス java.io.FilterOutputStream から継承したメソッド |
write |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
public TextOutputStream(OutputStream out,
String encoding)
out - 出力先encoding - 文字列のエンコーディング| メソッドの詳細 |
public void close()
throws IOException
IOException - IO エラーが発生した場合
public void flush()
throws IOException
IOException - IO エラーが発生した場合public String getEncoding()
public void write(byte[] b,
int off,
int len)
throws IOException
b - バイトoff - 書き出すオフセットlen - 書き出す長さ
IOException - IO エラーが発生した場合
public void write(char c)
throws IOException
c - 文字
IOException - IO エラーが発生した場合
public void write(char[] cbuf,
int off,
int len)
throws IOException
cbuf - 文字の配列off - 書き出すオフセットlen - 書き出す長さ
IOException - IO エラーが発生した場合
public void write(int b)
throws IOException
b - バイト
IOException - IO エラーが発生した場合
public void write(String s)
throws IOException
s - 文字列
IOException - IO エラーが発生した場合
public void write(String s,
int off,
int len)
throws IOException
s - 文字列off - 書き出すオフセットlen - 書き出す長さ
IOException - IO エラーが発生した場合
|
Kagetaka | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright (c) 2002-2004 The Kagetaka Project 'November 20, 2004'