Remote Systems
v6.4.1

com.ibm.etools.systems.files.importexport.files
Class UniFilePlus

java.lang.Object
  extended byjava.io.File
      extended bycom.ibm.etools.systems.files.importexport.files.UniFilePlus
All Implemented Interfaces:
Comparable, Serializable

public class UniFilePlus
extends File

See Also:
Serialized Form

Field Summary
static String Copyright
           
 IRemoteFile remoteFile
           
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
UniFilePlus(IRemoteFile remoteFile)
          Constructor.
 
Method Summary
 boolean canRead()
           
 boolean canWrite()
           
 int compareTo(File pathname)
           
 int compareTo(Object o)
           
 boolean createNewFile()
           
 boolean delete()
           
 void deleteOnExit()
          NOT SUPPORTED!
 boolean equals(Object obj)
           
 boolean exists()
           
 File getAbsoluteFile()
           
 String getAbsolutePath()
           
 File getCanonicalFile()
           
 String getCanonicalPath()
           
 String getName()
           
 String getParent()
           
 File getParentFile()
           
 String getPath()
           
 int hashCode()
           
 boolean isAbsolute()
           
 boolean isDirectory()
           
 boolean isFile()
           
 boolean isHidden()
           
 long lastModified()
           
 long length()
           
 String[] list()
           
 String[] list(FilenameFilter filter)
           
 File[] listFiles(FileFilter filter)
           
 File[] listFiles(FilenameFilter filter)
           
 IRemoteFile[] listIRemoteFiles()
           
 boolean mkdir()
           
 boolean mkdirs()
           
 boolean renameTo(File dest)
           
 boolean setLastModified(long time)
           
 boolean setReadOnly()
           
 String toString()
           
 URL toURL()
           
 
Methods inherited from class java.io.File
createTempFile, createTempFile, listFiles, listRoots, toURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

remoteFile

public IRemoteFile remoteFile
Constructor Detail

UniFilePlus

public UniFilePlus(IRemoteFile remoteFile)
Constructor. There is only one way to construct this object, and that is by giving an IRemoteFile object. All java.io.File methods are intercepted and delegated to this contained object.

Method Detail

canRead

public boolean canRead()

canWrite

public boolean canWrite()

compareTo

public int compareTo(File pathname)

compareTo

public int compareTo(Object o)

createNewFile

public boolean createNewFile()
                      throws IOException
Throws:
IOException

delete

public boolean delete()

deleteOnExit

public void deleteOnExit()
NOT SUPPORTED!


equals

public boolean equals(Object obj)

exists

public boolean exists()

getAbsoluteFile

public File getAbsoluteFile()

getAbsolutePath

public String getAbsolutePath()

getCanonicalFile

public File getCanonicalFile()

getCanonicalPath

public String getCanonicalPath()

getName

public String getName()

getParent

public String getParent()

getParentFile

public File getParentFile()

getPath

public String getPath()

hashCode

public int hashCode()

isAbsolute

public boolean isAbsolute()

isDirectory

public boolean isDirectory()

isFile

public boolean isFile()

isHidden

public boolean isHidden()

lastModified

public long lastModified()

length

public long length()

listIRemoteFiles

public IRemoteFile[] listIRemoteFiles()

list

public String[] list()

list

public String[] list(FilenameFilter filter)

listFiles

public File[] listFiles(FileFilter filter)

listFiles

public File[] listFiles(FilenameFilter filter)

mkdir

public boolean mkdir()

mkdirs

public boolean mkdirs()

renameTo

public boolean renameTo(File dest)

setLastModified

public boolean setLastModified(long time)

setReadOnly

public boolean setReadOnly()

toString

public String toString()

toURL

public URL toURL()
          throws MalformedURLException
Throws:
MalformedURLException

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.