org.ocap.hn.content
Interface StreamableContentResource
- All Superinterfaces:
- ContentResource
public interface StreamableContentResource
- extends ContentResource
Abstract class representing content that can be streamed, e.g., MPEG file.
|
Method Summary |
long |
getBitrate()
Gets the Bitrate this content is encoded with or -1 if not known. |
javax.media.Time |
getDuration()
Gets the duration of this content. |
| Methods inherited from interface org.ocap.hn.content.ContentResource |
delete, getContentFormat, getContentItem, getContentSize, getCreationDate, getExtendedFileAccessPermissions, getLocator, getNetwork, getProtocol, getResourceProperty, isRenderable |
getDuration
javax.media.Time getDuration()
- Gets the duration of this content.
- Returns:
- the duration of the content.
getBitrate
long getBitrate()
- Gets the Bitrate this content is encoded with or -1 if not known.
- Returns:
- the bit rate of the content in bytes per second or -1 if
not known.
Copyright © 2011. All Rights Reserved.