|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.io.File
jp.hrtdotnet.java.io.HDirectory
public class HDirectory
ディレクトリを操作するクラスです。 このクラスを利用してファイルを操作することは禁止されています。
| フィールドの概要 |
|---|
| クラス java.io.File から継承されたフィールド |
|---|
pathSeparator, pathSeparatorChar, separator, separatorChar |
| コンストラクタの概要 | |
|---|---|
HDirectory(java.lang.String directoryPath)
コンストラクタ。 |
|
| メソッドの概要 | |
|---|---|
static boolean |
checkDirectoryName(java.lang.String directory)
ディレクトリパスの正当性の判定をします。 |
boolean |
createNewFile()
推奨されていません。 このメソッドは利用してはなりません。 |
| クラス java.io.File から継承されたメソッド |
|---|
canExecute, canRead, canWrite, compareTo, compareTo, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI, toURL |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public HDirectory(java.lang.String directoryPath)
throws java.io.IOException
directoryPath - ディレクトリパス
java.io.IOException - directoryPathがファイルである、またはディレクトリとして不正なパスである場合| メソッドの詳細 |
|---|
public static boolean checkDirectoryName(java.lang.String directory)
directory - ディレクトリパス
public boolean createNewFile()
throws java.io.IOException
java.io.File 内の createNewFilejava.io.IOException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||