RSE
Release 1.0

org.eclipse.rse.services.local.files
Class LocalHostFile

java.lang.Object
  extended byorg.eclipse.rse.services.local.files.LocalHostFile
All Implemented Interfaces:
IHostFile
Direct Known Subclasses:
LocalVirtualHostFile

public class LocalHostFile
extends Object
implements IHostFile


Constructor Summary
LocalHostFile(File file)
           
LocalHostFile(File file, boolean isRoot)
           
 
Method Summary
 boolean canRead()
           
 boolean canWrite()
           
 boolean exists()
           
 String getAbsolutePath()
           
 File getFile()
           
 long getModifiedDate()
           
 String getName()
           
 String getParentPath()
           
 long getSize()
           
 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

LocalHostFile

public LocalHostFile(File file)

LocalHostFile

public LocalHostFile(File file,
                     boolean isRoot)
Method Detail

getName

public String getName()
Specified by:
getName in interface IHostFile

isHidden

public boolean isHidden()
Specified by:
isHidden in interface IHostFile

getParentPath

public String getParentPath()
Specified by:
getParentPath in interface IHostFile

isDirectory

public boolean isDirectory()
Specified by:
isDirectory in interface IHostFile

isRoot

public boolean isRoot()
Specified by:
isRoot in interface IHostFile

isFile

public boolean isFile()
Specified by:
isFile in interface IHostFile

getFile

public File getFile()

exists

public boolean exists()
Specified by:
exists in interface IHostFile

getAbsolutePath

public String getAbsolutePath()
Specified by:
getAbsolutePath in interface IHostFile

getSize

public long getSize()
Specified by:
getSize in interface IHostFile

getModifiedDate

public long getModifiedDate()
Specified by:
getModifiedDate in interface IHostFile

renameTo

public void renameTo(String newAbsolutePath)
Specified by:
renameTo in interface IHostFile

isArchive

public boolean isArchive()
Specified by:
isArchive in interface IHostFile

canRead

public boolean canRead()
Specified by:
canRead in interface IHostFile

canWrite

public boolean canWrite()
Specified by:
canWrite in interface IHostFile

RSE
Release 1.0

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