com.ibm.etools.systems.files.importexport.files
Class UniFilePlus
java.lang.Object
java.io.File
com.ibm.etools.systems.files.importexport.files.UniFilePlus
- All Implemented Interfaces:
- Comparable, Serializable
- public class UniFilePlus
- extends File
- See Also:
- Serialized Form
Copyright
public static final String Copyright
- See Also:
- Constant Field Values
remoteFile
public IRemoteFile remoteFile
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.
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
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.