public class SecureDirectory extends File
| Modifier and Type | Field and Description |
|---|---|
protected static boolean | isNotWindowsisNotWindows. |
pathSeparator, pathSeparatorChar, separator, separatorChar| Constructor and Description |
|---|
SecureDirectory(File parent,
String child)SecureDirectory. |
SecureDirectory(String pathname)SecureDirectory. |
SecureDirectory(String parent,
String child)SecureDirectory. |
| Modifier and Type | Method and Description |
|---|---|
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, toURLpublic SecureDirectory(String pathname)
public boolean mkdir()
public boolean mkdirs()
protected void setPerms()