Class ID3v22Handler

java.lang.Object
org.apache.tika.parser.mp3.ID3v22Handler
All Implemented Interfaces:
ID3Tags

@Deprecated(since="2026-04-30") public class ID3v22Handler extends Object implements ID3Tags
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
This is used to parse ID3 Version 2.2 Tag information from an MP3 file, if available.
See Also:
  • Constructor Details

  • Method Details

    • getTagsPresent

      public boolean getTagsPresent()
      Deprecated.
      Description copied from interface: ID3Tags
      Does the file contain this kind of tags?
      Specified by:
      getTagsPresent in interface ID3Tags
    • getTitle

      public String getTitle()
      Deprecated.
      Specified by:
      getTitle in interface ID3Tags
    • getArtist

      public String getArtist()
      Deprecated.
      Description copied from interface: ID3Tags
      The Artist for the track
      Specified by:
      getArtist in interface ID3Tags
    • getAlbum

      public String getAlbum()
      Deprecated.
      Specified by:
      getAlbum in interface ID3Tags
    • getYear

      public String getYear()
      Deprecated.
      Specified by:
      getYear in interface ID3Tags
    • getComposer

      public String getComposer()
      Deprecated.
      Specified by:
      getComposer in interface ID3Tags
    • getComments

      public List<ID3Tags.ID3Comment> getComments()
      Deprecated.
      Description copied from interface: ID3Tags
      Retrieves the comments, if any. Files may have more than one comment, but normally only one with any language/description pair.
      Specified by:
      getComments in interface ID3Tags
    • getGenre

      public String getGenre()
      Deprecated.
      Specified by:
      getGenre in interface ID3Tags
    • getTrackNumber

      public String getTrackNumber()
      Deprecated.
      Description copied from interface: ID3Tags
      The number of the track within the album / recording
      Specified by:
      getTrackNumber in interface ID3Tags
    • getAlbumArtist

      public String getAlbumArtist()
      Deprecated.
      Description copied from interface: ID3Tags
      The Artist for the overall album / compilation of albums
      Specified by:
      getAlbumArtist in interface ID3Tags
    • getDisc

      public String getDisc()
      Deprecated.
      Description copied from interface: ID3Tags
      The number of the disc this belongs to, within the set
      Specified by:
      getDisc in interface ID3Tags
    • getCompilation

      public String getCompilation()
      Deprecated.
      ID3v22 doesn't have compilations, so returns null;
      Specified by:
      getCompilation in interface ID3Tags