org.eclipse.rse.services.clientserver.archiveutils
Class AbsoluteVirtualPath
java.lang.Object
org.eclipse.rse.services.clientserver.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.
-
-
Overrides:
-
toString
in class
Object
-
setVirtualPart
public void setVirtualPart(
String newVirtualPart)
- Sets the virtual part of this AbsoluteVirtualPath to be newVirtualPart
-
getName
public
String getName()
-
getPath
public
String getPath()
-
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.