ApePackage
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage
public final class ApePackage extends CustomPackage
Represents an APE v2 metadata package. Please find more information at http://wiki.hydrogenaud.io/index.php?title=APE_key .
Learn more
This example demonstrates how to read the APEv2 tag in an MP3 file.
try (Metadata metadata = new Metadata(Constants.MP3WithApe)) { MP3RootPackage root = metadata.getRootPackageGeneric(); if (root.getApeV2() != null) { System.out.println(root.getApeV2().getAlbum()); System.out.println(root.getApeV2().getTitle()); System.out.println(root.getApeV2().getArtist()); System.out.println(root.getApeV2().getComposer()); System.out.println(root.getApeV2().getCopyright()); System.out.println(root.getApeV2().getGenre()); System.out.println(root.getApeV2().getLanguage()); // … } }
Methods
Method | Description |
---|---|
getTitle() | Gets the title. |
getSubtitle() | Gets the subtitle. |
getArtist() | Gets the artist. |
getAlbum() | Gets the album. |
getDebutAlbum() | Gets the debut album. |
getPublisher() | Gets the publisher. |
getConductor() | Gets the conductor. |
getTrack() | Gets the track number. |
getComposer() | Gets the composer. |
getComment() | Gets the comment. |
getCopyright() | Gets the copyright. |
getPublicationRight() | Gets the publication right. |
getFile() | Gets the file. |
getIsbn() | Gets the ISBN number with check digit. |
getRecordLocation() | Gets the record location. |
getGenre() | Gets the genre. |
getIsrc() | Gets the International Standard Recording Number. |
getAbstract() | Gets the abstract link. |
getLanguage() | Gets the language. |
getBibliography() | Gets the bibliography. |
getTitle()
public final String getTitle()
Gets the title.
Returns: java.lang.String - The title.
getSubtitle()
public final String getSubtitle()
Gets the subtitle.
Returns: java.lang.String - The subtitle.
getArtist()
public final String getArtist()
Gets the artist.
Returns: java.lang.String - The artist.
getAlbum()
public final String getAlbum()
Gets the album.
Returns: java.lang.String - The album.
getDebutAlbum()
public final String getDebutAlbum()
Gets the debut album.
Returns: java.lang.String - The debut album.
getPublisher()
public final String getPublisher()
Gets the publisher.
Returns: java.lang.String - The publisher.
getConductor()
public final String getConductor()
Gets the conductor.
Returns: java.lang.String - The conductor.
getTrack()
public final Integer getTrack()
Gets the track number.
Returns: java.lang.Integer - The track number.
getComposer()
public final String getComposer()
Gets the composer.
Returns: java.lang.String - The composer.
getComment()
public final String getComment()
Gets the comment.
Returns: java.lang.String - The comment.
getCopyright()
public final String getCopyright()
Gets the copyright.
Returns: java.lang.String - The copyright.
getPublicationRight()
public final String getPublicationRight()
Gets the publication right.
Returns: java.lang.String - The publication right.
getFile()
public final String getFile()
Gets the file.
Returns: java.lang.String - The file.
getIsbn()
public final String getIsbn()
Gets the ISBN number with check digit. See more: https://en.wikipedia.org/wiki/International_Standard_Book_Number.
Returns: java.lang.String - The ISBN number.
getRecordLocation()
public final String getRecordLocation()
Gets the record location.
Returns: java.lang.String - The record location.
getGenre()
public final String getGenre()
Gets the genre.
Returns: java.lang.String - The genre.
getIsrc()
public final String getIsrc()
Gets the International Standard Recording Number.
Returns: java.lang.String - The International Standard Recording Number.
getAbstract()
public final String getAbstract()
Gets the abstract link.
Returns: java.lang.String - The abstract link.
getLanguage()
public final String getLanguage()
Gets the language.
Returns: java.lang.String - The language.
getBibliography()
public final String getBibliography()
Gets the bibliography.
Returns: java.lang.String - The bibliography.