|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectorg.seasar.framework.util.FileUtil
Fileを扱うユーティリティ・クラスです。
| メソッドの概要 | |
static void |
copy(File src,
File dest)
srcの内容をdestにコピーします。 |
static byte[] |
getBytes(File file)
ファイルの内容をバイト配列に読み込んで返します。 |
static String |
getCanonicalPath(File file)
この抽象パス名の正規の形式を返します。 |
static URL |
toURL(File file)
この抽象パス名を file: URLに変換します。 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| メソッドの詳細 |
public static String getCanonicalPath(File file)
file - ファイル
public static URL toURL(File file)
file: URLに変換します。
file - ファイル
public static byte[] getBytes(File file)
file - ファイル
public static void copy(File src,
File dest)
srcの内容をdestにコピーします。
src - コピー元のファイルdest - コピー先のファイル
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||