net.metanotion.io.gui
Class FSVFile

java.lang.Object
  extended by java.io.File
      extended by net.metanotion.io.gui.FSVFile
All Implemented Interfaces:
Serializable, Comparable<File>

public final class FSVFile
extends File

Extension of java.io.File to make a net.metanotion.io.File work like a java.io.File. The only real purpose of this class is to coordinate with the FileSystemViewAdapter to work in a JFileChooser. In a pinch this can serve as a proxy to make other things with the net.metanotion.io system, but it pretty quickly falls apart if the user looks too close. For instance, any attempt to use one of these with a java.io.File*Stream class will probably do something really bad.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
FSVFile(File f)
           
 
Method Summary
 boolean equals(Object obj)
           
 boolean exists()
           
 File getAbsoluteFile()
           
 File getCanonicalFile()
           
 File getParentFile()
           
 File[] listFiles()
           
 String toString()
           
 
Methods inherited from class java.io.File
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, getAbsolutePath, getCanonicalPath, getFreeSpace, getName, getParent, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toURI, toURL
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FSVFile

public FSVFile(File f)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class File

exists

public boolean exists()
Overrides:
exists in class File

getAbsoluteFile

public File getAbsoluteFile()
Overrides:
getAbsoluteFile in class File

getCanonicalFile

public File getCanonicalFile()
Overrides:
getCanonicalFile in class File

toString

public String toString()
Overrides:
toString in class File

getParentFile

public File getParentFile()
Overrides:
getParentFile in class File

listFiles

public File[] listFiles()
Overrides:
listFiles in class File