RSE
Release 1.0

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

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

public class LocalVirtualHostFile
extends LocalHostFile


Field Summary
protected  VirtualChild _child
           
protected  File _parentArchive
           
 
Constructor Summary
LocalVirtualHostFile(VirtualChild child)
           
 
Method Summary
 boolean exists()
           
 String getAbsolutePath()
           
 VirtualChild getChild()
           
 File getFile()
           
 String getName()
           
 String getParentPath()
           
 boolean isArchive()
           
 boolean isDirectory()
           
 boolean isFile()
           
 boolean isHidden()
           
 boolean isRoot()
           
 void renameTo(String newAbsolutePath)
           
 
Methods inherited from class org.eclipse.rse.services.local.files.LocalHostFile
canRead, canWrite, getModifiedDate, getSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_parentArchive

protected File _parentArchive

_child

protected VirtualChild _child
Constructor Detail

LocalVirtualHostFile

public LocalVirtualHostFile(VirtualChild child)
Method Detail

getName

public String getName()
Specified by:
getName in interface IHostFile
Overrides:
getName in class LocalHostFile

getParentPath

public String getParentPath()
Specified by:
getParentPath in interface IHostFile
Overrides:
getParentPath in class LocalHostFile

isDirectory

public boolean isDirectory()
Specified by:
isDirectory in interface IHostFile
Overrides:
isDirectory in class LocalHostFile

isRoot

public boolean isRoot()
Specified by:
isRoot in interface IHostFile
Overrides:
isRoot in class LocalHostFile

isFile

public boolean isFile()
Specified by:
isFile in interface IHostFile
Overrides:
isFile in class LocalHostFile

getFile

public File getFile()
Overrides:
getFile in class LocalHostFile

exists

public boolean exists()
Specified by:
exists in interface IHostFile
Overrides:
exists in class LocalHostFile

getAbsolutePath

public String getAbsolutePath()
Specified by:
getAbsolutePath in interface IHostFile
Overrides:
getAbsolutePath in class LocalHostFile

getChild

public VirtualChild getChild()

isHidden

public boolean isHidden()
Specified by:
isHidden in interface IHostFile
Overrides:
isHidden in class LocalHostFile

isArchive

public boolean isArchive()
Specified by:
isArchive in interface IHostFile
Overrides:
isArchive in class LocalHostFile

renameTo

public void renameTo(String newAbsolutePath)
Specified by:
renameTo in interface IHostFile
Overrides:
renameTo in class LocalHostFile
See Also:
LocalHostFile.renameTo(java.lang.String)

RSE
Release 1.0

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