|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.emb.GenericMediaHeader
This class offers a generic implementation of the MediaHeader interface. It is suitable for all kinds of media that don't expose any header information.
Constructor Summary | |
GenericMediaHeader()
|
Method Summary | |
java.lang.Object |
getField(java.lang.String fieldname)
Returns null regardless of the field name passed. |
java.lang.String[] |
getFieldNames()
Returns an empty array of Strings, as no header information is exposed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GenericMediaHeader()
Method Detail |
public java.lang.String[] getFieldNames()
getFieldNames
in interface MediaHeader (src)
public java.lang.Object getField(java.lang.String fieldname)
null
regardless of the field name passed.
getField
in interface MediaHeader (src)
fieldname
- header field name.
null
java.lang.NullPointerException
- if the value passed is null
.
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |