ucar.unidata.util
Class ResourceCollection.Resource

java.lang.Object
  extended by ucar.unidata.util.ResourceCollection.Resource
Enclosing class:
ResourceCollection

public static class ResourceCollection.Resource
extends Object

Class Resource holds a string path which may be a file, url or java resource path. Also holds a label and a set of properties.

Version:
$Revision: 1.47 $
Author:
IDV Development Team

Constructor Summary
ResourceCollection.Resource(String path)
          ctor
ResourceCollection.Resource(String path, String label, Hashtable properties)
          ctor
 
Method Summary
 boolean equals(Object obj)
          equals
 String getProperty(String name)
          _more_
 String toString()
          toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceCollection.Resource

public ResourceCollection.Resource(String path)
ctor

Parameters:
path - path

ResourceCollection.Resource

public ResourceCollection.Resource(String path,
                                   String label,
                                   Hashtable properties)
ctor

Parameters:
path - path
label - label
properties - properties
Method Detail

getProperty

public String getProperty(String name)
_more_

Parameters:
name - _more_
Returns:
_more_

toString

public String toString()
toString

Overrides:
toString in class Object
Returns:
toString

equals

public boolean equals(Object obj)
equals

Overrides:
equals in class Object
Parameters:
obj - object
Returns:
equals