RSE
Release 1.0

org.eclipse.rse.services.files.ftp
Class FTPHostFile

java.lang.Object
  extended byorg.eclipse.rse.services.files.ftp.FTPHostFile
All Implemented Interfaces:
IHostFile

public class FTPHostFile
extends Object
implements IHostFile


Constructor Summary
FTPHostFile(String parentPath, FTPFile ftpFile, String systemName)
           
FTPHostFile(String parentPath, String name, boolean isDirectory, boolean isRoot, long lastModified, long size, boolean exists)
           
 
Method Summary
 boolean canRead()
           
 boolean canWrite()
           
 boolean exists()
           
 String geParentPath()
           
 String getAbsolutePath()
           
 long getModifiedDate()
           
 String getName()
           
 String getParentPath()
           
 long getSize()
           
protected  boolean internalIsArchive()
           
 boolean isArchive()
           
 boolean isDirectory()
           
 boolean isFile()
           
 boolean isHidden()
           
 boolean isRoot()
           
 void renameTo(String newAbsolutePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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()

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.