public class LocalResourceIdentifier extends Object implements ILocalResourceIdentifier
| Constructor and Description |
|---|
LocalResourceIdentifier()
Create a resource identifier.
|
LocalResourceIdentifier(IComponentIdentifier cid,
URL url)
Create a resource identifier.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Test if equals.
|
IComponentIdentifier |
getComponentIdentifier()
Get the platform identifier belonging to the resource identifier.
|
URL |
getUrl()
Get the url.
|
int |
hashCode()
Get the hashcode.
|
void |
setComponentIdentifier(IComponentIdentifier cid)
Set the platform identifier belonging to the resource identifier.
|
void |
setUrl(URL url)
Set the url.
|
String |
toString()
Get a string representation of this object.
|
public LocalResourceIdentifier()
public LocalResourceIdentifier(IComponentIdentifier cid, URL url)
cid - The platform identifier.url - The local URL.public IComponentIdentifier getComponentIdentifier()
getComponentIdentifier in interface ILocalResourceIdentifierpublic URL getUrl()
getUrl in interface ILocalResourceIdentifierpublic void setComponentIdentifier(IComponentIdentifier cid)
cid - The component identifier of the platform.public void setUrl(URL url)
url - The resource url.Copyright © 2012. All Rights Reserved.