|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TagMergeMode>
org.gstreamer.TagMergeMode
public enum TagMergeMode
The different tag merging modes are basically replace, overwrite and append, but they can be seen from two directions.
Given two taglists: A - the one that are supplied to gst_tag_setter_merge_tags() or gst_tag_setter_add_tags() and B - the tags already in the element, how are the tags merged? In the table below this is shown for the cases that a tag exists in the list (A) or does not exists (!A) and combination thereof.
Enum Constant Summary | |
---|---|
APPEND
Append tags |
|
KEEP
Keep existing tags |
|
KEEP_ALL
Keep all existing tags |
|
PREPEND
Prepend tags |
|
REPLACE
Replace tags |
|
REPLACE_ALL
Replace all tags (clear list and append). |
|
UNDEFINED
Undefined merge mode. |
Method Summary | |
---|---|
static TagMergeMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TagMergeMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TagMergeMode UNDEFINED
public static final TagMergeMode REPLACE_ALL
public static final TagMergeMode REPLACE
public static final TagMergeMode APPEND
public static final TagMergeMode PREPEND
public static final TagMergeMode KEEP
public static final TagMergeMode KEEP_ALL
Method Detail |
---|
public static TagMergeMode[] values()
for (TagMergeMode c : TagMergeMode.values()) System.out.println(c);
public static TagMergeMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |