Class LyricsHandler


  • public class LyricsHandler
    extends java.lang.Object
    This is used to parse Lyrics3 tag information from an MP3 file, if available. Handles lyrics tags of up to 10kb in size. Will process any ID3v1 tag data if present. Ignores extended ID3v1 data in the lyrics block
    See Also:
    Lyrics3 v2.0 specification
    • Constructor Summary

      Constructors 
      Constructor Description
      LyricsHandler​(java.io.InputStream stream, org.xml.sax.ContentHandler handler)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasID3v1()  
      boolean hasLyrics()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LyricsHandler

        public LyricsHandler​(java.io.InputStream stream,
                             org.xml.sax.ContentHandler handler)
                      throws java.io.IOException,
                             org.xml.sax.SAXException,
                             TikaException
        Throws:
        java.io.IOException
        org.xml.sax.SAXException
        TikaException
    • Method Detail

      • hasID3v1

        public boolean hasID3v1()
      • hasLyrics

        public boolean hasLyrics()