edu.rice.cs.util
Class AbsRelFile

java.lang.Object
  extended by java.io.File
      extended by edu.rice.cs.util.AbsRelFile
All Implemented Interfaces:
Serializable, Comparable<File>
Direct Known Subclasses:
DocFile

public class AbsRelFile
extends File

A subclass of File that stores if it should be saved as absolute or relative.

Version:
$Id: AbsRelFile.java 5236 2010-04-27 01:43:36Z mgricken $
See Also:
Serialized Form

Field Summary
protected  boolean _keepAbsolute
           
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
AbsRelFile(File f)
           
AbsRelFile(File f, boolean keepAbsolute)
           
AbsRelFile(File parent, String child)
           
AbsRelFile(File parent, String child, boolean keepAbsolute)
           
AbsRelFile(String pathname)
           
AbsRelFile(String pathname, boolean keepAbsolute)
           
AbsRelFile(String parent, String child)
           
AbsRelFile(String parent, String child, boolean keepAbsolute)
           
AbsRelFile(URI uri)
           
AbsRelFile(URI uri, boolean keepAbsolute)
           
 
Method Summary
 boolean keepAbsolute()
           
 AbsRelFile keepAbsolute(boolean keepAbsolute)
           
 
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
 

Field Detail

_keepAbsolute

protected boolean _keepAbsolute
Constructor Detail

AbsRelFile

public AbsRelFile(File parent,
                  String child,
                  boolean keepAbsolute)

AbsRelFile

public AbsRelFile(File parent,
                  String child)

AbsRelFile

public AbsRelFile(String pathname,
                  boolean keepAbsolute)

AbsRelFile

public AbsRelFile(String pathname)

AbsRelFile

public AbsRelFile(String parent,
                  String child,
                  boolean keepAbsolute)

AbsRelFile

public AbsRelFile(String parent,
                  String child)

AbsRelFile

public AbsRelFile(URI uri,
                  boolean keepAbsolute)

AbsRelFile

public AbsRelFile(URI uri)

AbsRelFile

public AbsRelFile(File f,
                  boolean keepAbsolute)

AbsRelFile

public AbsRelFile(File f)
Method Detail

keepAbsolute

public boolean keepAbsolute()

keepAbsolute

public AbsRelFile keepAbsolute(boolean keepAbsolute)