|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gstreamer.lowlevel.NativeValue
org.gstreamer.lowlevel.Handle
org.gstreamer.lowlevel.NativeObject
org.gstreamer.Structure
org.gstreamer.TagList
public class TagList
List of tags and values used to describe media metadata.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.gstreamer.Structure |
---|
Structure.InvalidFieldException |
Nested classes/interfaces inherited from class org.gstreamer.lowlevel.NativeObject |
---|
org.gstreamer.lowlevel.NativeObject.Initializer |
Field Summary |
---|
Fields inherited from class org.gstreamer.lowlevel.NativeObject |
---|
defaultInit, LIFECYCLE, ownsHandle |
Constructor Summary | |
---|---|
TagList()
Constructs a new empty tag list. |
|
TagList(org.gstreamer.lowlevel.NativeObject.Initializer init)
Creates a new instance of TagList |
Method Summary | |
---|---|
protected void |
disposeNativeHandle(com.sun.jna.Pointer ptr)
|
java.lang.Number |
getNumber(java.lang.String tag,
int index)
Gets a numeric tag from this list. |
java.lang.Number |
getNumber(Tag tag,
int index)
Gets a numeric tag from this list. |
java.lang.String |
getString(java.lang.String tag,
int index)
Gets a string tag from this list. |
java.lang.String |
getString(Tag tag,
int index)
Gets a string tag from this list. |
java.util.List<java.lang.String> |
getTagNames()
Gets a list of all the tags contained in this list. |
java.lang.Object |
getValue(java.lang.String tag,
int index)
Gets data for a tag from this list. |
java.lang.Object |
getValue(Tag tag,
int index)
Gets data for a tag from this list. |
int |
getValueCount(java.lang.String tag)
Gets the number of values of type tag stored in the list. |
java.util.List<java.lang.Object> |
getValues(java.lang.String tag)
Gets all data values for a tag contained in this list. |
java.util.List<java.lang.Object> |
getValues(Tag tag)
Gets all data values for a tag contained in this list. |
TagList |
merge(TagList list2,
TagMergeMode mode)
Merges this tag list and list2 into a new list. |
Methods inherited from class org.gstreamer.Structure |
---|
copy, fixateFieldNearestInteger, fixateNearestInteger, fromString, getBoolean, getDouble, getFraction, getInteger, getName, getString, hasDoubleField, hasField, hasField, hasField, hasIntField, hasName, objectFor, removeField, removeFields, setDouble, setDoubleRange, setInteger, setIntegerRange, setName, toString |
Methods inherited from class org.gstreamer.lowlevel.NativeObject |
---|
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, initializer, instanceFor, invalidate, isDisposed, nativeValue, objectFor, objectFor, objectFor |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TagList(org.gstreamer.lowlevel.NativeObject.Initializer init)
init
- internal initialization data.public TagList()
Method Detail |
---|
public int getValueCount(java.lang.String tag)
tag
stored in the list.
tag
- the name of the tag to get the size of.
tag
in this list.public java.util.List<java.lang.Object> getValues(java.lang.String tag)
tag
- the name of the tag to retrieve.
tag
.public java.util.List<java.lang.Object> getValues(Tag tag)
tag
- the name of the tag to retrieve.
tag
.public java.lang.Object getValue(java.lang.String tag, int index)
tag
- the tag to retrieve.index
- which element of the array of data for this tag to retrieve.
public java.lang.Object getValue(Tag tag, int index)
tag
- the tag to retrieve.index
- which element of the array of data for this tag to retrieve.
public java.lang.String getString(java.lang.String tag, int index)
tag
- the tag to retrieve.index
- which element of the array of data for this tag to retrieve.
public java.lang.String getString(Tag tag, int index)
tag
- the tag to retrieve.index
- which element of the array of data for this tag to retrieve.
public java.lang.Number getNumber(java.lang.String tag, int index)
tag
- the tag to retrieve.index
- which element of the array of data for this tag to retrieve.
public java.lang.Number getNumber(Tag tag, int index)
tag
- the tag to retrieve.index
- which element of the array of data for this tag to retrieve.
public java.util.List<java.lang.String> getTagNames()
public TagList merge(TagList list2, TagMergeMode mode)
list2
into a new list.
If list2
is null, a copy of this list is returned.
list2
- the other tag list to merge with this one.mode
- the TagMergeMode
.
protected void disposeNativeHandle(com.sun.jna.Pointer ptr)
disposeNativeHandle
in class Structure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |