Class OutputPatternPropsParser


  • public class OutputPatternPropsParser
    extends Object
    Parses output patterns from a configuration file to a list of OutputPatterns.
    Author:
    Nick Collier
    • Constructor Detail

      • OutputPatternPropsParser

        public OutputPatternPropsParser()
    • Method Detail

      • parse

        public List<OutputPattern> parse​(String file)
                                  throws IOException
        Parse the output patterns defined in the specified file into a List of OutputPattern objects.
        Parameters:
        file -
        Returns:
        the parsed list.
        Throws:
        IOException
      • parse

        public List<OutputPattern> parse​(Properties props)
                                  throws IOException
        Parse the output patterns defined in the specified properties into a List of OutputPattern objects.
        Parameters:
        file -
        Returns:
        the parsed list.
        Throws:
        IOException