edu.jhu.pha.ivoa
Class NameURLPair

java.lang.Object
  |
  +--edu.jhu.pha.ivoa.NameURLPair

public class NameURLPair
extends java.lang.Object

   Current Version
   ===============
   ID:            $Id: NameURLPair.html,v 1.3 2003/08/18 18:05:02 carliles Exp $
   Revision:      $Revision: 1.3 $
   Date/time:     $Date: 2003/08/18 18:05:02 $
   
A class for tagging a URL with some sort of label other than just the full-blown URL spec.


Constructor Summary
NameURLPair(java.lang.String name, java.net.URL url)
           
 
Method Summary
 java.lang.String getName()
           
 java.net.URL getURL()
           
static java.lang.String revision()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameURLPair

public NameURLPair(java.lang.String name,
                   java.net.URL url)
Parameters:
name - The name to associate with url.
url - The URL with which to associate name.
Method Detail

getName

public java.lang.String getName()
Returns:
The name.

getURL

public java.net.URL getURL()
Returns:
The url.

revision

public static java.lang.String revision()
Returns:
CVS Revision number.