SecureFile
public class SecureDirectory
extends java.io.File
修飾子とタイプ | フィールド | 説明 |
---|---|---|
protected static boolean |
isNotWindows |
コンストラクタ | 説明 |
---|---|
SecureDirectory(java.io.File parent,
java.lang.String child) |
|
SecureDirectory(java.lang.String pathname) |
|
SecureDirectory(java.lang.String parent,
java.lang.String child) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
boolean |
mkdir() |
Sets directory to mode 700 if the directory is created
|
boolean |
mkdirs() |
Sets directory to mode 700 if the directory is created
Does NOT change the mode of other created directories
|
protected void |
setPerms() |
Tries to set the permissions to 700,
ignores errors
|
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, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toString, toURI, toURL
public SecureDirectory(java.lang.String pathname)
public SecureDirectory(java.lang.String parent, java.lang.String child)
public SecureDirectory(java.io.File parent, java.lang.String child)
public boolean mkdir()
mkdir
クラス内 java.io.File
public boolean mkdirs()
mkdirs
クラス内 java.io.File
protected void setPerms()