public final class CanonicalFile extends File
CanonicalFile
is always both absolute and unique.pathSeparator, pathSeparatorChar, separator, separatorChar
Constructor and Description |
---|
CanonicalFile(File file)
A
CanonicalFile is always both absolute and unique. |
CanonicalFile(File parent,
String child)
A
CanonicalFile is always both absolute and unique. |
CanonicalFile(String path)
A
CanonicalFile is always both absolute and unique. |
CanonicalFile(String parent,
String child)
A
CanonicalFile is always both absolute and unique. |
CanonicalFile(URI uri)
A
CanonicalFile is always both absolute and unique. |
Modifier and Type | Method and Description |
---|---|
static CanonicalFile |
cwd()
Return the current working directory.
|
protected static String |
getCanonicalPath(File file) |
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
public CanonicalFile(File parent, String child)
CanonicalFile
is always both absolute and unique.public CanonicalFile(String parent, String child)
CanonicalFile
is always both absolute and unique.public CanonicalFile(URI uri)
CanonicalFile
is always both absolute and unique.public CanonicalFile(String path)
CanonicalFile
is always both absolute and unique.public CanonicalFile(File file)
CanonicalFile
is always both absolute and unique.public static final CanonicalFile cwd()
protected static String getCanonicalPath(File file)
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.