com.plumtree.openfoundation.util
Class XPURL

java.lang.Object
  extended bycom.plumtree.openfoundation.util.XPURL

public class XPURL
extends java.lang.Object

A simple container class for an URL.


Constructor Summary
XPURL(java.lang.String string)
          Constructs an XPURL object based on the given string denoting the URL.
XPURL(java.net.URL url)
          Constructs an XPURL object with a platform-specific URL object.
 
Method Summary
 java.net.URL GetUnderlyingObject()
          Returns a platform-specific URL object.
 java.lang.String ToString()
          Returns the actual URL string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPURL

public XPURL(java.net.URL url)
Constructs an XPURL object with a platform-specific URL object.

Parameters:
url - platform-specific URL object.

XPURL

public XPURL(java.lang.String string)
      throws XPMalformedURLException
Constructs an XPURL object based on the given string denoting the URL.

Parameters:
string - url
Throws:
XPMalformedURLException - if construction of XPURL fails.
Method Detail

ToString

public java.lang.String ToString()
Returns the actual URL string.

Returns:
the actual URL string.

GetUnderlyingObject

public java.net.URL GetUnderlyingObject()
Returns a platform-specific URL object.

Returns:
a platform-specific URL object.


Copyright 2002, 2003, 2004 Plumtree Software Inc. All Rights Reserved.