/** Adds a TagParseListener to be notified when this stream parses MP3Tags. */ public void addTagParseListener(TagParseListener tpl) { tagParseSupport.addTagParseListener(tpl); }
/** Removes a TagParseListener, so it won't be notified when this stream parses MP3Tags. */ public void removeTagParseListener(TagParseListener tpl) { tagParseSupport.removeTagParseListener(tpl); }
/** * adds the tag to the HashMap of tags we have encountered either in-stream or as headers, * replacing any previous tag with this name. */ @SuppressWarnings("unchecked") protected void addTag(IcyTag tag) { tags.put(tag.getName(), tag); // fire this as an event too tagParseSupport.fireTagParsed(this, tag); }