Class TagRenamer

  • All Implemented Interfaces:
    TagValueListener, TagValueWrapper

    public class TagRenamer
    extends SimpleTagValueWrapper

    Rename tags using a TagMapper.

    This will rename tags as they stream into this listener using a TagMapper. Once renamed, the events will be forwarded onto a delegate TagValueListener for further processing.

    Since:
    1.2
    Author:
    Matthew Pocock
    • Constructor Detail

      • TagRenamer

        public TagRenamer​(TagValueListener delegate,
                          PropertyChanger mapper)
        Build a new TagRenamer with a delegate and mapper.
        Parameters:
        delegate - TagValueListener to pass mapped events onto
        mapper - TagMapper used to rename tags