org.oipf.download
Class ApplicationDownloadSpec

java.lang.Object
  extended by org.ocap.shared.dvr.RecordingSpec
      extended by org.oipf.download.ApplicationDownloadSpec

public class ApplicationDownloadSpec
extends org.ocap.shared.dvr.RecordingSpec

Represents a content download to be performed by an application. The application to handle the request and the source of the content to download must be specified when the request is created. No other application is permitted to handle the request. The format of the source must be co-ordinated between the application requesting the download and the application handling the download request.


Constructor Summary
ApplicationDownloadSpec(AppID app, java.lang.String source, org.ocap.shared.dvr.RecordingProperties properties)
          Create a request for content download by application.
 
Method Summary
 AppID getAppID()
          Return the application ID specified.
 java.lang.String getSource()
          Return the source specified.
 
Methods inherited from class org.ocap.shared.dvr.RecordingSpec
getProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationDownloadSpec

public ApplicationDownloadSpec(AppID app,
                               java.lang.String source,
                               org.ocap.shared.dvr.RecordingProperties properties)
Create a request for content download by application.

Parameters:
app - the application to perform the download
source - the source of the download
properties - the properties for the download
Method Detail

getAppID

public AppID getAppID()
Return the application ID specified.

Returns:
an application ID

getSource

public java.lang.String getSource()
Return the source specified.

Returns:
a String