|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.util.io.WriterUtil
public abstract class WriterUtil
Writer用のユーティリティクラスです。
| コンストラクタの概要 | |
|---|---|
WriterUtil()
|
|
| メソッドの概要 | |
|---|---|
static Writer |
create(File file)
プラットフォームデフォルトエンコーディングでファイルへ出力する Writerを作成します。 |
static Writer |
create(File file,
String encoding)
指定のエンコーディングでファイルへ出力する Writerを作成します。 |
static Writer |
create(OutputStream os,
String encoding)
指定のエンコーディングでストリームへ出力する Writerを作成します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public WriterUtil()
| メソッドの詳細 |
|---|
public static Writer create(OutputStream os,
String encoding)
Writerを作成します。
os - ストリーム。nullであってはいけませんencoding - エンコーディング。nullや空文字列であってはいけません
Writerpublic static Writer create(File file)
Writerを作成します。
file - ファイル。nullであってはいけません
Writer
public static Writer create(File file,
String encoding)
Writerを作成します。
file - ファイル。nullであってはいけませんencoding - エンコーディング。nullや空文字列であってはいけません
Writer
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||