public class LocalResourceIdentifier extends Object implements ILocalResourceIdentifier
Constructor and Description |
---|
LocalResourceIdentifier()
Create a resource identifier.
|
LocalResourceIdentifier(IComponentIdentifier cid,
URL url)
Create a resource identifier.
|
LocalResourceIdentifier(IComponentIdentifier cid,
URL url,
String hostid)
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.
|
String |
getHostIdentifier()
Get the host 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 |
setHostIdentifier(String hostid)
Set the host 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 LocalResourceIdentifier(IComponentIdentifier cid, URL url, String hostid)
cid
- The platform identifier.url
- The local URL.public IComponentIdentifier getComponentIdentifier()
getComponentIdentifier
in interface ILocalResourceIdentifier
public URL getUrl()
getUrl
in interface ILocalResourceIdentifier
public String getHostIdentifier()
getHostIdentifier
in interface ILocalResourceIdentifier
public void setComponentIdentifier(IComponentIdentifier cid)
cid
- The component identifier of the platform.public void setUrl(URL url)
url
- The resource url.public void setHostIdentifier(String hostid)
hostid
- The host identifier.Copyright © 2013. All Rights Reserved.