| Package | Description |
|---|---|
| org.ocap.hn.content |
Provides representation of the content and content containers, and means of identifying content type.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AudioResource
Interface implemented by subclasses of ContentResource to identify that a content contains audio.
|
interface |
StreamableContentResource
Abstract class representing content that can be streamed, e.g., MPEG file.
|
interface |
VideoResource
ContentResource to identify that a content item contains video/still image material.
|
| Modifier and Type | Method and Description |
|---|---|
ContentResource[] |
ContentItem.getRenderableResources()
Gets an array copy of renderable ContentResources which are part of this
ContentItem.
|
ContentResource |
ContentItem.getResource(int n)
Returns the nth
ContentResource of this ContentItem. |
ContentResource[] |
ContentItem.getResources()
Gets an array copy of ContentResources which are part of this
ContentItem.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ContentItem.containsResource(ContentResource entry)
Checks whether the given
ContentResource is part of this
ContentItem.. |
int |
ContentItem.getResourceIndex(ContentResource r)
Returns the index of the specified ContentResource or -1 if the
ContentResource does not exist in this ContentItem.
|
Copyright © 2012. All Rights Reserved.