|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.uky.rch.ept.data.ResourceDescriptor
A ResourceDescriptor holds and provides all the meta-data about a resource.
| Field Summary | |
static short |
R_COLLECTION
Collection |
static short |
R_DTD
DTD Resource |
static short |
R_IMAGE
Image Resource |
static short |
R_TEXT
Text Resource |
static short |
R_UNKNOWN
Unknown Resource Type |
static short |
R_XML
XML Resource |
| Constructor Summary | |
ResourceDescriptor(String address)
Constructs a new ResourceDescriptor with the given details |
|
| Method Summary | |
int |
compareTo(Object obj)
|
String |
getAddress()
Returns the absolute address of the resource. |
String |
getName()
Returns the name of the resource. |
short |
getType()
Returns the type of the resource. |
boolean |
isCollection()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final short R_UNKNOWN
public static final short R_COLLECTION
public static final short R_TEXT
public static final short R_XML
public static final short R_DTD
public static final short R_IMAGE
| Constructor Detail |
public ResourceDescriptor(String address)
throws NullAddressException,
UnknownProtocolException,
MalformedAddressException
address - absolute address of the resource| Method Detail |
public String getAddress()
public short getType()
public String getName()
public boolean isCollection()
public int compareTo(Object obj)
compareTo in interface Comparable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||