org.kuali.common.util.file
Class CanonicalFile

java.lang.Object
  extended by java.io.File
      extended by org.kuali.common.util.file.CanonicalFile
All Implemented Interfaces:
Serializable, Comparable<File>

public class CanonicalFile
extends File

A CanonicalFile is always both absolute and unique.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
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.
 
Method Summary
protected static String getCanonicalPath(File file)
           
 
Methods inherited from class java.io.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, toString, toURI, toURL
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CanonicalFile

public CanonicalFile(File parent,
                     String child)
A CanonicalFile is always both absolute and unique.


CanonicalFile

public CanonicalFile(String parent,
                     String child)
A CanonicalFile is always both absolute and unique.


CanonicalFile

public CanonicalFile(URI uri)
A CanonicalFile is always both absolute and unique.


CanonicalFile

public CanonicalFile(String path)
A CanonicalFile is always both absolute and unique.


CanonicalFile

public CanonicalFile(File file)
A CanonicalFile is always both absolute and unique.

Method Detail

getCanonicalPath

protected static String getCanonicalPath(File file)


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.