org.klomp.snark.web

## Class Mp3Tags

- java.lang.Object
- - org.klomp.snark.web.Mp3Tags

-     public class Mp3Tags
      extends Object

  Utility class for extracting MP3 metadata tags for display in the I2PSnark web interface.

  This class provides methods to read ID3v1 and ID3v2 tags from MP3 files, extracting information such as:

  - Artist name
  - Track title
  - Album name
  - Release year
  - Composer and genre information
  - Original artist

  The extracted metadata is used to enhance the file browsing experience in I2PSnark by displaying meaningful information about MP3 files instead of just filenames.

  This class uses the mp3agic library for tag parsing and handles both ID3v1 and ID3v2 tag formats, with preference for ID3v2 when available.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Mp3Tags()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `getTags(File f)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Mp3Tags

          public Mp3Tags()

  - ### Method Detail

    - #### getTags

          public static String getTags(File f)