java.lang.Object
org.klomp.snark.Mp3Test

public class Mp3Testextends Object
Test utility for extracting and displaying MP3 metadata tags.

This is a standalone command-line tool used for testing and debugging MP3 tag extraction functionality. It reads ID3v1 and ID3v2 tags from MP3 files and prints all available metadata to stdout.

Usage: java org.klomp.snark.Mp3Test file1.mp3 [file2.mp3 ...]

This utility is primarily used during development to verify that the mp3agic library integration works correctly and to inspect the contents of MP3 tags for troubleshooting purposes.

  • Constructor Details

    • Mp3Test

      public Mp3Test()
      All the work is done by the static main(String[]) entry point, so an instance would carry no state.
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Main entry point for the MP3 metadata test utility.
      Parameters:
      args - command line arguments (MP3 file paths)
      Throws:
      Exception - if an error occurs reading the files