com.groupdocs.metadata.core

Interfaces

Classes

Enums

Exceptions

com.groupdocs.metadata.core

Class ApePackage

  • All Implemented Interfaces:
    Iterable<MetadataProperty>


    public final class ApePackage
    extends CustomPackage

    Represents an APE v2 metadata package. Please find more information at <a href="http://wiki.hydrogenaud.io/index.php?title=APE_key">http://wiki.hydrogenaud.io/index.php?title=APE_key</a>.

    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());
             // ...
         }
     }
     
    • Method Detail

      • getTitle

        public final String getTitle()

        Gets the title.

        Returns:
        The title.
      • getSubtitle

        public final String getSubtitle()

        Gets the subtitle.

        Returns:
        The subtitle.
      • getArtist

        public final String getArtist()

        Gets the artist.

        Returns:
        The artist.
      • getAlbum

        public final String getAlbum()

        Gets the album.

        Returns:
        The album.
      • getDebutAlbum

        public final String getDebutAlbum()

        Gets the debut album.

        Returns:
        The debut album.
      • getPublisher

        public final String getPublisher()

        Gets the publisher.

        Returns:
        The publisher.
      • getConductor

        public final String getConductor()

        Gets the conductor.

        Returns:
        The conductor.
      • getTrack

        public final Integer getTrack()

        Gets the track number.

        Returns:
        The track number.
      • getComposer

        public final String getComposer()

        Gets the composer.

        Returns:
        The composer.
      • getComment

        public final String getComment()

        Gets the comment.

        Returns:
        The comment.
      • getCopyright

        public final String getCopyright()

        Gets the copyright.

        Returns:
        The copyright.
      • getPublicationRight

        public final String getPublicationRight()

        Gets the publication right.

        Returns:
        The publication right.
      • getFile

        public final String getFile()

        Gets the file.

        Returns:
        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:
        The ISBN number.
      • getRecordLocation

        public final String getRecordLocation()

        Gets the record location.

        Returns:
        The record location.
      • getGenre

        public final String getGenre()

        Gets the genre.

        Returns:
        The genre.
      • getIsrc

        public final String getIsrc()

        Gets the International Standard Recording Number.

        Returns:
        The International Standard Recording Number.
      • getAbstract

        public final String getAbstract()

        Gets the abstract link.

        Returns:
        The abstract link.
      • getLanguage

        public final String getLanguage()

        Gets the language.

        Returns:
        The language.
      • getBibliography

        public final String getBibliography()

        Gets the bibliography.

        Returns:
        The bibliography.