public class MP3RootPackage extends RootMetadataPackage implements IXmp
Represents the root package allowing working with metadata in an MP3 audio.
Learn more
Modifier and Type | Method and Description |
---|---|
ApePackage |
getApeV2()
Gets the APE v2 metadata.
|
ID3V1Tag |
getID3V1()
Gets the ID3v1 metadata tag.
|
ID3V2Tag |
getID3V2()
Gets the ID3v2 metadata tag.
|
LyricsTag |
getLyrics3V2()
Gets the Lyrics3v2 metadata tag.
|
MpegAudioPackage |
getMpegAudioPackage()
Gets the MPEG audio metadata package.
|
XmpPacketWrapper |
getXmpPackage()
Gets the XMP metadata package.
|
void |
removeApeV2()
Removes the APEv2 audio tag.
|
int |
sanitize()
Removes writable metadata properties from the package.
|
void |
setID3V1(ID3V1Tag value)
Sets the ID3v1 metadata tag.
|
void |
setID3V2(ID3V2Tag value)
Sets the ID3v2 metadata tag.
|
void |
setLyrics3V2(LyricsTag value)
Sets the Lyrics3v2 metadata tag.
|
void |
setXmpPackage(XmpPacketWrapper value)
Sets the XMP metadata package.
|
getFileType
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, setProperties, updateProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public final MpegAudioPackage getMpegAudioPackage()
Gets the MPEG audio metadata package.
public final ID3V1Tag getID3V1()
Gets the ID3v1 metadata tag.
Please find more information at <a href="http://id3.org/ID3v1">http://id3.org/ID3v1</a>
.
public final void setID3V1(ID3V1Tag value)
Sets the ID3v1 metadata tag.
Please find more information at <a href="http://id3.org/ID3v1">http://id3.org/ID3v1</a>
.
value
- The ID3v1 metadata tag attached to the audio file.
public final ID3V2Tag getID3V2()
Gets the ID3v2 metadata tag.
public final void setID3V2(ID3V2Tag value)
Sets the ID3v2 metadata tag.
value
- The ID3v2 metadata tag attached to the audio file.public final LyricsTag getLyrics3V2()
Gets the Lyrics3v2 metadata tag.
public final void setLyrics3V2(LyricsTag value)
Sets the Lyrics3v2 metadata tag.
value
- The Lyrics3v2 metadata tag.public final ApePackage getApeV2()
Gets the APE v2 metadata.
public final XmpPacketWrapper getXmpPackage()
Gets the XMP metadata package.
getXmpPackage
in interface IXmp
Learn more
public final void setXmpPackage(XmpPacketWrapper value)
Sets the XMP metadata package.
setXmpPackage
in interface IXmp
value
- The XMP metadata package.
Learn more
public final void removeApeV2()
Removes the APEv2 audio tag.
public int sanitize()
Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well.
sanitize
in class RootMetadataPackage