SRJRCFrames
v0.1.296

de.schwarzrot.system
Class RemoteFile

java.lang.Object
  extended by java.io.File
      extended by de.schwarzrot.system.RemoteFile
All Implemented Interfaces:
Serializable, Comparable<File>

public class RemoteFile
extends File

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
RemoteFile(File parent, String child)
           
RemoteFile(String path)
           
 
Method Summary
 boolean canExecute()
           
 boolean canRead()
           
 boolean canWrite()
           
 boolean exists()
           
 File getAbsoluteFile()
           
 String getAbsolutePath()
           
 File getCanonicalFile()
           
 String getCanonicalPath()
           
 long getFreeSpace()
           
protected  org.apache.commons.logging.Log getLogger()
           
 long getTotalSpace()
           
 long getUsableSpace()
           
 boolean isAbsolute()
           
 boolean isDirectory()
           
 boolean isFile()
           
 boolean isHidden()
           
 boolean isRoot()
           
 long lastModified()
           
 long length()
           
 File[] listFiles()
           
 boolean mkdir()
           
 boolean mkdirs()
           
 boolean renameTo(File dest)
           
 void setDirectory(boolean directory)
           
 boolean setExecutable(boolean executable)
           
 boolean setExecutable(boolean executable, boolean ownerOnly)
           
 void setHidden(boolean hidden)
           
 boolean setLastModified(long time)
           
 boolean setReadable(boolean readable)
           
 boolean setReadable(boolean readable, boolean ownerOnly)
           
 boolean setReadOnly()
           
static void setRemoteFileSystemClient(SrvFSClient client)
           
 void setRoot(boolean root)
           
 void setSize(long size)
           
 boolean setWritable(boolean writable)
           
 boolean setWritable(boolean writable, boolean ownerOnly)
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteFile

public RemoteFile(File parent,
                  String child)

RemoteFile

public RemoteFile(String path)
Method Detail

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)

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
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.