Remote Systems
v6.4.1

com.ibm.etools.systems.core.archiveutils
Class AbsoluteVirtualPath

java.lang.Object
  extended bycom.ibm.etools.systems.core.archiveutils.AbsoluteVirtualPath

public class AbsoluteVirtualPath
extends Object


Field Summary
protected  String _absVirtualPath
           
protected  boolean _isVirtual
           
protected  AbsoluteVirtualPath _realPart
           
protected  String _realPartName
           
protected  String _virtualPart
           
 
Constructor Summary
AbsoluteVirtualPath(String absolutePath)
          Sets up a new AbsoluteVirtualPath object, by parsing absolutePath into a "real" part (the containing archive) and a "virtual" part (the path to the entry in the archive).
 
Method Summary
 AbsoluteVirtualPath getContainingArchivePath()
           
 String getContainingArchiveString()
           
 String getVirtualPart()
           
 boolean isVirtual()
           
 void setVirtualPart(String newVirtualPart)
          Sets the virtual part of this AbsoluteVirtualPath to be newVirtualPart
 String toString()
          Returns this AbsoluteVirtualPath as a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_realPart

protected AbsoluteVirtualPath _realPart

_realPartName

protected String _realPartName

_virtualPart

protected String _virtualPart

_isVirtual

protected boolean _isVirtual

_absVirtualPath

protected String _absVirtualPath
Constructor Detail

AbsoluteVirtualPath

public AbsoluteVirtualPath(String absolutePath)
Sets up a new AbsoluteVirtualPath object, by parsing absolutePath into a "real" part (the containing archive) and a "virtual" part (the path to the entry in the archive). Note that the real part is also an AbsoluteVirtualPath in order to account for nested archives.

Method Detail

isVirtual

public boolean isVirtual()
Returns:
Whether or not this AbsoluteVirtualPath is virtual.

getContainingArchivePath

public AbsoluteVirtualPath getContainingArchivePath()
Returns:
The AbsoluteVirtualPath of the archive that contains the object specified by this AbsoluteVirtualPath. Note that the archive can itself be virtual as well.

getContainingArchiveString

public String getContainingArchiveString()
Returns:
The name of the AbsoluteVirtualPath of the archive that contains the object specified by this AbsoluteVirtualPath.

getVirtualPart

public String getVirtualPart()
Returns:
The virtual path to the virtual object referred to by this AbsoluteVirtualPath.

toString

public String toString()
Returns this AbsoluteVirtualPath as a string.


setVirtualPart

public void setVirtualPart(String newVirtualPart)
Sets the virtual part of this AbsoluteVirtualPath to be newVirtualPart


Remote Systems
v6.4.1

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.