org.oipf.download
Class ApplicationDownloadSpec
java.lang.Object
org.ocap.shared.dvr.RecordingSpec
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 |
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 downloadsource
- the source of the downloadproperties
- the properties for the download
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