de.schwarzrot.system
Class RemoteFile
java.lang.Object
java.io.File
de.schwarzrot.system.RemoteFile
- All Implemented Interfaces:
- Serializable, Comparable<File>
public class RemoteFile
- extends File
- See Also:
- Serialized Form
Methods inherited from class java.io.File |
compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, getName, getParent, getParentFile, getPath, hashCode, list, list, listFiles, listFiles, listRoots, toString, toURI, toURL |
RemoteFile
public RemoteFile(File parent,
String child)
RemoteFile
public RemoteFile(String path)
canExecute
public boolean canExecute()
- Overrides:
canExecute
in class File
canRead
public boolean canRead()
- Overrides:
canRead
in class File
canWrite
public boolean canWrite()
- Overrides:
canWrite
in class File
exists
public boolean exists()
- Overrides:
exists
in class File
getAbsoluteFile
public File getAbsoluteFile()
- Overrides:
getAbsoluteFile
in class File
getAbsolutePath
public String getAbsolutePath()
- Overrides:
getAbsolutePath
in class File
getCanonicalFile
public File getCanonicalFile()
throws IOException
- Overrides:
getCanonicalFile
in class File
- Throws:
IOException
getCanonicalPath
public String getCanonicalPath()
throws IOException
- Overrides:
getCanonicalPath
in class File
- Throws:
IOException
getFreeSpace
public long getFreeSpace()
- Overrides:
getFreeSpace
in class File
getTotalSpace
public long getTotalSpace()
- Overrides:
getTotalSpace
in class File
getUsableSpace
public long getUsableSpace()
- Overrides:
getUsableSpace
in class File
isAbsolute
public boolean isAbsolute()
- Overrides:
isAbsolute
in class File
isDirectory
public boolean isDirectory()
- Overrides:
isDirectory
in class File
isFile
public boolean isFile()
- Overrides:
isFile
in class File
isHidden
public boolean isHidden()
- Overrides:
isHidden
in class File
isRoot
public boolean isRoot()
lastModified
public long lastModified()
- Overrides:
lastModified
in class File
length
public long length()
- Overrides:
length
in class File
listFiles
public File[] listFiles()
- Overrides:
listFiles
in class File
mkdir
public boolean mkdir()
- Overrides:
mkdir
in class File
mkdirs
public boolean mkdirs()
- Overrides:
mkdirs
in class File
renameTo
public boolean renameTo(File dest)
- Overrides:
renameTo
in class File
setDirectory
public void setDirectory(boolean directory)
setExecutable
public boolean setExecutable(boolean executable)
- Overrides:
setExecutable
in class File
setExecutable
public boolean setExecutable(boolean executable,
boolean ownerOnly)
- Overrides:
setExecutable
in class File
setHidden
public void setHidden(boolean hidden)
setLastModified
public boolean setLastModified(long time)
- Overrides:
setLastModified
in class File
setReadable
public boolean setReadable(boolean readable)
- Overrides:
setReadable
in class File
setReadable
public boolean setReadable(boolean readable,
boolean ownerOnly)
- Overrides:
setReadable
in class File
setReadOnly
public boolean setReadOnly()
- Overrides:
setReadOnly
in class File
setRoot
public void setRoot(boolean root)
setSize
public void setSize(long size)
setWritable
public boolean setWritable(boolean writable)
- Overrides:
setWritable
in class File
setWritable
public boolean setWritable(boolean writable,
boolean ownerOnly)
- Overrides:
setWritable
in class File
getLogger
protected final org.apache.commons.logging.Log getLogger()
setRemoteFileSystemClient
public static void setRemoteFileSystemClient(SrvFSClient client)
Submit
a bug or request a feature
SRJRCFrames is published according to the
GNU General Public License
Copyright 2005-2012
Reinhard Mantey - some rights reserved.