|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectentagged.audioformats.asf.util.TagConverter
public class TagConverter
This class provides functionality to convert
AsfHeaderobjects into
Tagobjects (More extract information and
create a GenericTag).
| Constructor Summary | |
|---|---|
TagConverter()
|
|
| Method Summary | |
|---|---|
static void |
assignCommonTagValues(Tag tag,
ExtendedContentDescription description)
This method assigns those tags of tag which are defined to
be common by entagged. |
static void |
assignOptionalTagValues(Tag tag,
ExtendedContentDescription descriptor)
This method will add or replace all values of tag are not defined as common by entagged. |
static ContentDescription |
createContentDescription(Tag tag)
This method creates a new ContentDescriptionobject, filled with
the according values of the given tag.Warning : Only the first values can be stored in asf files, because the content description is limited. |
static ExtendedContentDescription |
createExtendedContentDescription(Tag tag)
This method creates a new ExtendedContentDescriptionobject
filled with the values of the given tag.Since extended content description of asf files can store name-value pairs, nearly each TagFieldcan be
stored whithin. |
static Tag |
createTagOf(AsfHeader source)
This method creates a Tagand fills it with the contents of the
given AsfHeader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TagConverter()
| Method Detail |
|---|
public static void assignCommonTagValues(Tag tag,
ExtendedContentDescription description)
tag which are defined to
be common by entagged.
tag - The tag from which the values are gathered. description - The extended content description which should recieve the
values.
,
,
,
public static void assignOptionalTagValues(Tag tag,
ExtendedContentDescription descriptor)
tag - The tag containing the values.descriptor - the extended content description.public static ContentDescription createContentDescription(Tag tag)
ContentDescriptionobject, filled with
the according values of the given tag.
tag - The tag from which the values are taken. tag.
,
,
public static ExtendedContentDescription createExtendedContentDescription(Tag tag)
ExtendedContentDescriptionobject
filled with the values of the given tag.TagFieldcan be
stored whithin.
tag - The tag whose values the result will be filled with.
public static Tag createTagOf(AsfHeader source)
Tagand fills it with the contents of the
given AsfHeader.
source - The asf header which contains the information.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||