Package repast.simphony.batch.ssh
Class BaseOutputNamesFinder
- java.lang.Object
-
- repast.simphony.batch.ssh.BaseOutputNamesFinder
-
public class BaseOutputNamesFinder extends Object
Finds the base output name from file_sink xml files in a scenario directory.- Author:
- Nick Collier
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
BaseOutputNamesFinder.FinderOutput
-
Constructor Summary
Constructors Constructor Description BaseOutputNamesFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseOutputNamesFinder.FinderOutput
find(InputStream fileSinkDescriptor)
Reads the specified file sink descriptor for the filename.List<BaseOutputNamesFinder.FinderOutput>
find(String scenarioDirectory)
Finds file sinks descriptors in the specified directories and returns a FinderOutput results for each file sink.
-
-
-
Method Detail
-
find
public List<BaseOutputNamesFinder.FinderOutput> find(String scenarioDirectory) throws IOException, XMLStreamException
Finds file sinks descriptors in the specified directories and returns a FinderOutput results for each file sink.- Parameters:
scenarioDirectory
-- Returns:
- Throws:
IOException
XMLStreamException
-
find
public BaseOutputNamesFinder.FinderOutput find(InputStream fileSinkDescriptor) throws IOException, XMLStreamException
Reads the specified file sink descriptor for the filename.- Parameters:
fileSinkDescriptor
-- Returns:
- Throws:
IOException
XMLStreamException
-
-