|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object entagged.audioformats.asf.util.TagConverter
public class TagConverter
This class provides functionality to convert
AsfHeader
objects into
Tag
objects (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 ContentDescription object, 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 ExtendedContentDescription object
filled with the values of the given tag .Since extended content description of asf files can store name-value pairs, nearly each TagField can be
stored whithin. |
static Tag |
createTagOf(AsfHeader source)
This method creates a Tag and 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)
ContentDescription
object, 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)
ExtendedContentDescription
object
filled with the values of the given tag
.TagField
can be
stored whithin.
tag
- The tag whose values the result will be filled with.
public static Tag createTagOf(AsfHeader source)
Tag
and 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 |