|
java.lang.Object | +--ResourceObject
ResourceObjects represents the results of a resource search on the network, where each returned result is depicted by a ResourceObject.
ResourceObjects capture the essential information about a resource so that a peer can access/request it from the host.
| Method Summary | |
java.lang.String |
GetID()
|
java.lang.String |
GetMediatype()
|
java.lang.String |
GetNickname()
|
java.lang.String |
GetPipeAd()
|
java.lang.String |
GetPluginID()
|
java.lang.String |
GetResourceDescription()
|
java.lang.String |
GetResourceID()
|
java.lang.String |
GetResourceName()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public java.lang.String GetID()
This method returns the unique ID of the (user) peer that hosts this resource.
public java.lang.String GetPipeAd()
This method returns the Pipe Advert of the peer that hosts this resource. This advert is required so that the target peer can be contacted.
public java.lang.String GetResourceName()
This method returns the name of the resource. In some situations (for example, file sharing), this name represents the resources unique ID.
public java.lang.String GetResourceDescription()
This method returns a brief description of the resource.
public java.lang.String GetMediatype()
This method returns the MediaType ID of the resource.
public java.lang.String GetResourceID()
This method returns the ID of the resource as known by the plugin that is making it available. In some cases the name of the resource is used as the unique identifier.
public java.lang.String GetPluginID()
This method returns the ID of the plugin that this resource is provided by.
public java.lang.String GetNickname()
This method returns the Nickname of the user that is hosting this resource.
public java.lang.String toString()
toString in class java.lang.ObjectThis method returns the contents of ResourceObject as a flat String.
|