java.lang.Object
java.io.File
com.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
| Fields inherited from class java.io.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 |
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
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)
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.