Class TextMappingsReader.Processor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected MappingSet mappings  
      protected static java.util.regex.Pattern SPACE
      A regular expression used to split Strings at spaces.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Processor​(MappingSet mappings)
      Creates a mappings parser, to process the lines in a mappings file.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MappingSet getMappings()
      Gets the mapping set being read into by the processor.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Consumer

        accept, andThen
    • Field Detail

      • SPACE

        protected static final java.util.regex.Pattern SPACE
        A regular expression used to split Strings at spaces.
    • Constructor Detail

      • Processor

        protected Processor​(MappingSet mappings)
        Creates a mappings parser, to process the lines in a mappings file.
        Parameters:
        mappings - The mappings set
    • Method Detail

      • getMappings

        public MappingSet getMappings()
        Gets the mapping set being read into by the processor.
        Returns:
        The mappings
        Since:
        0.5.7