org.dvb.tvanytime.metadata.ip
Class HTTPDatabase

java.lang.Object
  extended by org.dvb.tvanytime.metadata.ip.HTTPDatabase
All Implemented Interfaces:
Database

public abstract class HTTPDatabase
extends java.lang.Object
implements Database

Class providing access to a Broadband Content Guide delivered using the unicast delivery method specified in ETSI TS 102 034 V1.2.1.


Constructor Summary
HTTPDatabase()
          This constructor is provided for implementations and should not be used by GEM applications.
 
Method Summary
 Locator getURL()
          Get the URL of the host providing this HTTPDatabase.
static HTTPDatabase newInstance(java.lang.String path)
          Get an instance of an HTTPDatabase where the caller chooses the server.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.dvb.tvanytime.metadata.Database
getDiscoveryRecord, getMetadata, getMetadata, getOptimisedQueryFields, query, query
 

Constructor Detail

HTTPDatabase

public HTTPDatabase()
This constructor is provided for implementations and should not be used by GEM applications.

Method Detail

newInstance

public static HTTPDatabase newInstance(java.lang.String path)
                                throws DatabaseException
Get an instance of an HTTPDatabase where the caller chooses the server.

Parameters:
path - a URL that points to the metadata server.
Returns:
an HTTPDatabase
Throws:
DatabaseException - if the platform is unable to connect to the remote server.

getURL

public Locator getURL()
Get the URL of the host providing this HTTPDatabase.

Returns:
the URL