Package repast.simphony.batch.ssh
Class SessionPropsParser
- java.lang.Object
-
- repast.simphony.batch.ssh.SessionPropsParser
-
public class SessionPropsParser extends Object
Parses a Sessions properties file into individual Session instances.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description SessionPropsParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<? extends Session>
parse(String file)
Parse the Sessions defined in the specified file into a List of Session objects.List<? extends Session>
parse(Properties props)
-
-
-
Method Detail
-
parse
public List<? extends Session> parse(String file) throws IOException
Parse the Sessions defined in the specified file into a List of Session objects.- Parameters:
file
-- Returns:
- the parsed list.
- Throws:
IOException
-
parse
public List<? extends Session> parse(Properties props) throws IOException
- Throws:
IOException
-
-