|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.dtv.locator.URLLocator
com.sun.dtv.locator.EntityLocator
com.sun.dtv.locator.NetworkBoundLocator
Locator referring to entities that are network bound.
Constructor Summary | |
NetworkBoundLocator(String url)
Create a locator from the given url. |
Method Summary | |
String |
toExternalForm()
Generates a canonical, string-based representation of this Locator . The string returned may be entirely
platform-dependent. If two locators have identical external
forms, they refer to the same resource. However, two locators
that refer to the same resource may have different external
forms.
This method returns the canonical
form of the string that was used to create the Locator (via
The result of this method can be used to create new
|
Methods inherited from class com.sun.dtv.locator.EntityLocator |
getContentId, getEventId, getMediaLocator, getOriginalNetworkId, getServiceId, getTransportStreamId |
Methods inherited from class com.sun.dtv.locator.URLLocator |
equals, hashCode, hasMultipleTransformations, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.tv.locator.Locator |
equals, hashCode, hasMultipleTransformations, toString |
Constructor Detail |
public NetworkBoundLocator(String url) throws InvalidLocatorException
url
- the url string
InvalidLocatorException
- if the locator
can not be created from the provided parameters.Method Detail |
public String toExternalForm()
Locator
. The string returned may be entirely
platform-dependent. If two locators have identical external
forms, they refer to the same resource. However, two locators
that refer to the same resource may have different external
forms.
This method returns the canonical
form of the string that was used to create the Locator (via
LocatorFactory.createLocator()
). In generating
canonical external forms, the implementation will make its best
effort at resolving locators to one-to-one relationships
with the resources that they reference.
The result of this method can be used to create new
Locator
instances as well as other types of
locators, such as JMF MediaLocator
s and
URL
s.
toExternalForm
in interface Locator
toExternalForm
in class EntityLocator
|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |