Class OutputPatternPropsParser

java.lang.Object
repast.simphony.batch.ssh.OutputPatternPropsParser

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

    • OutputPatternPropsParser

      public OutputPatternPropsParser()
  • Method Details

    • 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