예제 #1
0
 /** Adds a TagParseListener to be notified when this stream parses MP3Tags. */
 public void addTagParseListener(TagParseListener tpl) {
   tagParseSupport.addTagParseListener(tpl);
 }
예제 #2
0
 /** Removes a TagParseListener, so it won't be notified when this stream parses MP3Tags. */
 public void removeTagParseListener(TagParseListener tpl) {
   tagParseSupport.removeTagParseListener(tpl);
 }
예제 #3
0
 /**
  * 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);
 }