javazoom.spi.mpeg.sampled.file.tag

Interface MP3MetadataParser

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 Summary

void
addTagParseListener(TagParseListener tpl)
Adds a TagParseListener to be notified when this object parses MP3Tags.
MP3Tag[]
getTags()
Get all tags (headers or in-stream) encountered thusfar.
void
removeTagParseListener(TagParseListener tpl)
Removes a TagParseListener, so it won't be notified when this object parses MP3Tags.

Method Details

addTagParseListener

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

getTags

public 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.

removeTagParseListener

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

JavaZOOM 1999-2005