org.eclipse.rse.services.files.ftp
Class FTPHostFile
java.lang.Object
org.eclipse.rse.services.files.ftp.FTPHostFile
- All Implemented Interfaces:
- IHostFile
- public class FTPHostFile
- extends Object
- implements IHostFile
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FTPHostFile
public FTPHostFile(String parentPath,
String name,
boolean isDirectory,
boolean isRoot,
long lastModified,
long size,
boolean exists)
FTPHostFile
public FTPHostFile(String parentPath,
FTPFile ftpFile,
String systemName)
getSize
public long getSize()
- Specified by:
getSize in interface IHostFile
isDirectory
public boolean isDirectory()
- Specified by:
isDirectory in interface IHostFile
isFile
public boolean isFile()
- Specified by:
isFile in interface IHostFile
getName
public String getName()
- Specified by:
getName in interface IHostFile
canRead
public boolean canRead()
- Specified by:
canRead in interface IHostFile
canWrite
public boolean canWrite()
- Specified by:
canWrite in interface IHostFile
exists
public boolean exists()
- Specified by:
exists in interface IHostFile
getAbsolutePath
public String getAbsolutePath()
- Specified by:
getAbsolutePath in interface IHostFile
getModifiedDate
public long getModifiedDate()
- Specified by:
getModifiedDate in interface IHostFile
geParentPath
public String geParentPath()
isArchive
public boolean isArchive()
- Specified by:
isArchive in interface IHostFile
isHidden
public boolean isHidden()
- Specified by:
isHidden in interface IHostFile
isRoot
public boolean isRoot()
- Specified by:
isRoot in interface IHostFile
getParentPath
public String getParentPath()
- Specified by:
getParentPath in interface IHostFile
renameTo
public void renameTo(String newAbsolutePath)
- Specified by:
renameTo in interface IHostFile
internalIsArchive
protected boolean internalIsArchive()
Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.