|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Service representing a resident WWW browser
| Method Summary | |
void |
addBookmark(javax.tv.locator.Locator locator,
java.lang.String name)
Add a bookmark to the list of bookmarks in the current application. |
void |
addBookmark(java.net.URL bookmarkUrl,
java.lang.String name)
Add a bookmark to the list of bookmarks in the current application. |
boolean |
areFramesSupported()
Check whether frames are supported by the browser and enabled. |
java.lang.String[] |
getAcceptedMediaTypes()
Returns an array of supported MIME types, e.g. |
java.lang.String[] |
getSupportedPlugins()
Returns an array of names of installed plug-ins. |
java.lang.String |
getUserAgent()
Returns the string used in the HTTP "User-Agent" header. |
void |
setHomepage(java.net.URL defaultUrl)
Set the home page for the web browser. |
void |
setInitialURL(java.net.URL initialUrl)
Set the inital URL to be used when the WWW browser starts. |
| Methods inherited from interface org.dvb.internet.InternetClientService |
canRunApplication, getName, getServiceType, getSupportedClientServices, hasMultipleInstances, retrieveDetails |
| Methods inherited from interface javax.tv.service.Service |
equals, getLocator, hashCode |
| Method Detail |
public java.lang.String[] getAcceptedMediaTypes()
public java.lang.String[] getSupportedPlugins()
public java.lang.String getUserAgent()
public boolean areFramesSupported()
public void setHomepage(java.net.URL defaultUrl)
defaultUrl - the URL to be used as the default when the application is launched
with no starting URL.java.lang.SecurityException - if the caller does not have a HomePagePermissionjava.lang.IllegalArgumentException - if the URL scheme is not supported by the
application. Different classes which implement or extend this interface may implement
different schemes.
public void addBookmark(java.net.URL bookmarkUrl,
java.lang.String name)
throws EntryExistsException,
java.io.IOException
bookmarkUrl - the URL that should be added to the bookmarks list.name - the name that should be displayed for that URL in the bookmarks list.EntryExistsException - if a bookmark with both the same name
and the same URL already exists in the bookmarks list.java.lang.IllegalArgumentException - if the URL scheme is not supported
by the application.IOException - if no more bookmarks can be added due to a lack of storage
space or other limitation in the client
public void addBookmark(javax.tv.locator.Locator locator,
java.lang.String name)
throws EntryExistsException,
java.io.IOException
locator - the Locator that should be added to the bookmarks listname - the name that should be displayed for that locator in the bookmarks list.
Multiple entries in the bookmarks list may not have the same name.EntryExistsException - if a bookmark with both the same name
and the same locator already exists in the bookmarks list.IOException - if no more bookmarks can be added due to a lack of storage
space or a limitation in the clientpublic void setInitialURL(java.net.URL initialUrl)
initialUrl - the URL to usejava.lang.IllegalArgumentException - if the URL scheme is not supported by the application. Different classes which implement or extend this interface may implement different schemes.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||