|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CodecManager
TODO refactor codec manager. Component interface that manage dynamic codecs. Each codec is identified with a codec name.
Field Summary | |
---|---|
static String |
ITF_NAME
The default name of interface of this type. |
Method Summary | |
---|---|
void |
addCodec(String codecName,
Map<String,Object> context)
Adds a codec component for the specified codec name. |
Component |
getCodec(String codecName)
Returns the codec component for the given codec name. |
void |
removeCodec(String codecName)
Removes a codec component. |
Field Detail |
---|
static final String ITF_NAME
Method Detail |
---|
void addCodec(String codecName, Map<String,Object> context) throws CodecManagerException
codecName
- the name of the codec.context
- additional parameters.
CodecManagerException
- if the manager can't add the codec.void removeCodec(String codecName) throws CodecManagerException
codecName
- the name of the codec.
CodecManagerException
- the the given codec name is unknown, or if
the codec component is in use.Component getCodec(String codecName) throws CodecManagerException
codecName
- the name of the codec.
CodecManagerException
- the the given codec name is unknown.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |