|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.driver.TemporaryFileManager
Provides temporary file management facility.
A temporary file with any presix and suffix can be created.
More than one manager can work together at same time.
コンストラクタの概要 | |
TemporaryFileManager()
Constructs a new manager. |
メソッドの概要 | |
void |
cleanupTemporaryFiles()
Deletes all temporary files created by this manager. |
java.io.File |
createTemporaryFile()
Creates a temporary file and returns its path name. |
java.io.File |
createTemporaryFile(java.lang.String suffix)
Creates a temporary file with a specified suffix and returns its path name. |
java.io.File |
createTemporaryFile(java.lang.String prefix,
java.lang.String suffix)
Creates a temporary file with a specified prefix and suffix and returns its path name. |
java.util.Collection |
getTemporaryFiles()
Returns a list of temporary files ever created by this manager. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public TemporaryFileManager()
メソッドの詳細 |
public void cleanupTemporaryFiles()
public java.io.File createTemporaryFile() throws java.io.IOException
java.io.IOException
- - failed to create a file.public java.io.File createTemporaryFile(java.lang.String suffix) throws java.io.IOException
suffix
- a suffix.
java.io.IOException
- - failed to create a file.public java.io.File createTemporaryFile(java.lang.String prefix, java.lang.String suffix) throws java.lang.IllegalArgumentException, java.io.IOException
prefix
- a prefix.suffix
- a suffix.
java.lang.IllegalArgumentException
- - prefix length is short.
java.io.IOException
- - failed to create a file.public java.util.Collection getTemporaryFiles()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |