Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.services.clientserver.archiveutils
Class AbsoluteVirtualPath


java.lang.Object
  extended by 
org.eclipse.rse.services.clientserver.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 getName ()
           
  String getPath ()
           
  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.

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()

RSE
Release 3.0

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

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire