com.ibm.etools.systems.core.archiveutils
Class AbsoluteVirtualPath
java.lang.Object
com.ibm.etools.systems.core.archiveutils.AbsoluteVirtualPath
- public class AbsoluteVirtualPath
- extends Object
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). |
_realPart
protected AbsoluteVirtualPath _realPart
_realPartName
protected String _realPartName
_virtualPart
protected String _virtualPart
_isVirtual
protected boolean _isVirtual
_absVirtualPath
protected String _absVirtualPath
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.
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
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.