Interface MP3MetadataParser

  • All Known Implementing Classes:
    IcyInputStream

    public interface MP3MetadataParser
    An object that fires off TagParseEvents as they are parsed from a stream, ServerSocket, or other metadata source
    • Method Detail

      • addTagParseListener

        void addTagParseListener​(TagParseListener tpl)
        Adds a TagParseListener to be notified when this object parses MP3Tags.
      • removeTagParseListener

        void removeTagParseListener​(TagParseListener tpl)
        Removes a TagParseListener, so it won't be notified when this object parses MP3Tags.
      • getTags

        MP3Tag[] getTags()
        Get all tags (headers or in-stream) encountered thusfar. This is included in this otherwise Listener-like scheme because most standards are a mix of start-of-stream metadata tags (like the http headers or the stuff at the top of an ice stream) and inline data. Implementations should hang onto all tags they parse and provide them with this call. Callers should first use this call to get initial tags, then subscribe for events as the stream continues.