Package repast.simphony.batch.ssh
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 Summary
Constructors Constructor Description OutputPatternPropsParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<OutputPattern>
parse(String file)
Parse the output patterns defined in the specified file into a List of OutputPattern objects.List<OutputPattern>
parse(Properties props)
Parse the output patterns defined in the specified properties into a List of OutputPattern objects.
-
-
-
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
-
-