Package repast.simphony.batch.ssh
Class BaseOutputNamesFinder
java.lang.Object
repast.simphony.batch.ssh.BaseOutputNamesFinder
Finds the base output name from file_sink xml files in a scenario directory.
- Author:
- Nick Collier
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfind
(InputStream fileSinkDescriptor) Reads the specified file sink descriptor for the filename.Finds file sinks descriptors in the specified directories and returns a FinderOutput results for each file sink.
-
Constructor Details
-
BaseOutputNamesFinder
public BaseOutputNamesFinder()
-
-
Method Details
-
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
-