|
Kagetaka | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.io.File
net.hizlab.kagetaka.io.SharedFile
参照回数を保持するファイルクラスです。
フィールドの概要 |
クラス java.io.File から継承したフィールド |
pathSeparator, pathSeparatorChar, separator, separatorChar |
コンストラクタの概要 | |
SharedFile(String dir,
String file)
共有ファイルを定義します。 |
メソッドの概要 | |
boolean |
delete()
ファイルを削除します。 |
FileInputStream |
getInputStream()
ファイルのインプットストリームを返します。 |
クラス java.io.File から継承したメソッド |
canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toString, toURI, toURL |
クラス java.lang.Object から継承したメソッド |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public SharedFile(String dir, String file)
dir
- ディレクトリfile
- ファイルメソッドの詳細 |
public boolean delete()
true
、
後で削除する場合は false
public FileInputStream getInputStream() throws IOException
null
を返します。
null
IOException
- IO エラーが発生した場合
|
Kagetaka | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Copyright (c) 2002-2004 The Kagetaka Project 'November 20, 2004'