@Deprecated public class HomeDirectory extends jp.co.intra_mart.common.aid.jdk.java.io.file.ExtendedDirectory
pathSeparator, pathSeparatorChar, separator, separatorChar
修飾子とタイプ | メソッドと説明 |
---|---|
static void |
definePath(String path)
非推奨です。
ホームディレクトリはシステムにて設定されますので、このメソッドは使用する必要はありません。
|
static String |
findPath()
非推奨です。
代替APIはありません。
|
static HomeDirectory |
instance()
非推奨です。
代替APIはありません。
|
archive, archive, archive, archive, archive, archive, childDirectory, childFile, childPath, findDirectory, findFile, findPath, reset
childDirectories, childFiles, deleteAll, deleteChilds, files, paths
canExecute, canRead, canWrite, compareTo, createNewFile, 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, toPath, toString, toURI, toURL
@Deprecated public static HomeDirectory instance()
@Deprecated public static void definePath(String path)
このメソッドは、システム全体を不安定にしてしまう危険性があるため、 通常は使用してはいけません。
path
- ホームディレクトリを表すパス名NullPointerException
- 引数が null の場合@Deprecated public static String findPath()
通常は、インストールされた環境と設定値から自動的にホームディレクトリが 決定されます。例外として、definePath() メソッドを使用して 意図的にホームディレクトリの情報を書き換えてしまった場合は、 書き換えられたパス情報が返されます。
Copyright © 2012 NTT DATA INTRAMART CORPORATION