|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.iso.mpeg.mpegj.resource.ResourceManager
The resource manager is used for regulation of performance. The Resource Manager API provides a centralized facility for managing resources. It is a collection of a number of classes and interfaces summarized as follows.
Constructor Summary | |
ResourceManager()
|
Method Summary | |
void |
changeDecoder(ObjectDescriptor ODesc,
ESDescriptor esDesc,
MPDecoder dec)
Change decoder on the given Object Descriptor and ESDescriptor The underlying implementation is expected to instantiate, attach and start a decoder similar to establishing a new decoder for a BIFS node. |
MPDecoder[] |
getAvailableDecoder(DecoderType type)
Get available decoders given decoder type. |
CapabilityManager |
getCapabilityManager()
Returns the CapabilityManager used to retrieve all the capabilities (static, dynamic, profile) of the terminal. |
MPDecoder |
getDecoder(ObjectDescriptor OD,
ESDescriptor ES)
Get Decoder for the given ObjectDescriptor and ESDescriptor. |
int |
getDecPriority(MPDecoder dec)
Get priority of a media elementary stream. |
Renderer |
getRenderer()
Get renderer and be ready to add events to renderer. |
void |
setDecPriority(MPDecoder dec,
int priority)
Override/change priority of a media elementary stream. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ResourceManager()
Method Detail |
public CapabilityManager getCapabilityManager() throws CapabilityManagerNotFoundException
public void setDecPriority(MPDecoder dec, int priority) throws InvalidDecoderPriorityException, DecoderNotFoundException
public int getDecPriority(MPDecoder dec) throws DecoderNotFoundException
public MPDecoder getDecoder(ObjectDescriptor OD, ESDescriptor ES) throws DecoderNotFoundException, BadNodeException
ObjectDescriptor
- ESDescriptor
- public Renderer getRenderer() throws RendererNotFoundException
public void changeDecoder(ObjectDescriptor ODesc, ESDescriptor esDesc, MPDecoder dec) throws DecoderNotFoundException, BadNodeException
ObjectDescriptor
- ESDescriptor
- MPDecoder
- public MPDecoder[] getAvailableDecoder(DecoderType type) throws InvalidDecoderTypeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |