Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.memoire.fu
Class FuFile  view FuFile download FuFile.java

java.lang.Object
  extended byjava.io.File
      extended bycom.memoire.fu.FuFile
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable
Direct Known Subclasses:
FuFileFile, FuFileRam, FuFileUrl

public abstract class FuFile
extends java.io.File


Field Summary
static java.lang.String pathSeparator
           
static char pathSeparatorChar
           
static java.lang.String separator
           
static char separatorChar
           
 
Fields inherited from class java.io.File
 
Constructor Summary
protected FuFile(java.io.File _file, java.lang.String _name)
           
protected FuFile(java.lang.String _path)
           
protected FuFile(java.lang.String _file, java.lang.String _name)
           
 
Method Summary
static FuFile convertToFuFile(java.lang.Object _file)
           
abstract  FuFile createChild(java.lang.String _name)
           
static FuFile createFile(java.lang.String _path)
           
static FuFile createFile(java.net.URL _url)
           
static FuFile ensureFuFile(java.lang.Object _file)
           
 java.io.File getAbsoluteFile()
          This method returns a File object representing the absolute path of this object.
 FuFile getAbsoluteFuFile()
           
 java.io.File getCanonicalFile()
          This method returns a File object representing the canonical path of this object.
 FuFile getCanonicalFuFile()
           
abstract  java.io.InputStream getInputStream()
           
abstract  java.io.OutputStream getOutputStream()
           
 java.io.File getParentFile()
          This method returns a File object representing the parent file of this one.
 FuFile getParentFuFile()
           
 java.lang.String getViewText()
           
abstract  java.net.URL toURL()
          This method returns a URL with the file: protocol that represents this file.
 
Methods inherited from class java.io.File
canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsolutePath, getCanonicalPath, getName, getParent, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toString, toURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

separatorChar

public static final char separatorChar

separator

public static final java.lang.String separator

pathSeparatorChar

public static final char pathSeparatorChar

pathSeparator

public static final java.lang.String pathSeparator
Constructor Detail

FuFile

protected FuFile(java.io.File _file,
                 java.lang.String _name)

FuFile

protected FuFile(java.lang.String _path)

FuFile

protected FuFile(java.lang.String _file,
                 java.lang.String _name)
Method Detail

createFile

public static final FuFile createFile(java.net.URL _url)

createFile

public static final FuFile createFile(java.lang.String _path)

ensureFuFile

public static final FuFile ensureFuFile(java.lang.Object _file)

convertToFuFile

public static final FuFile convertToFuFile(java.lang.Object _file)

createChild

public abstract FuFile createChild(java.lang.String _name)

getInputStream

public abstract java.io.InputStream getInputStream()
                                            throws java.io.IOException

getOutputStream

public abstract java.io.OutputStream getOutputStream()
                                              throws java.io.IOException

getViewText

public java.lang.String getViewText()

getAbsoluteFile

public final java.io.File getAbsoluteFile()
Description copied from class: java.io.File
This method returns a File object representing the absolute path of this object.


getCanonicalFile

public final java.io.File getCanonicalFile()
                                    throws java.io.IOException
Description copied from class: java.io.File
This method returns a File object representing the canonical path of this object.


getParentFile

public final java.io.File getParentFile()
Description copied from class: java.io.File
This method returns a File object representing the parent file of this one.


getAbsoluteFuFile

public FuFile getAbsoluteFuFile()

getCanonicalFuFile

public FuFile getCanonicalFuFile()
                          throws java.io.IOException

getParentFuFile

public FuFile getParentFuFile()

toURL

public abstract java.net.URL toURL()
                            throws java.net.MalformedURLException
Description copied from class: java.io.File
This method returns a URL with the file: protocol that represents this file. The exact form of this URL is system dependent.