Class ObjectFileReader<OUTPUT>
- java.lang.Object
-
- org.processmining.stochasticbpmn.algorithms.reader.ObjectFileReader<OUTPUT>
-
- All Implemented Interfaces:
ObjectReader<java.io.File,OUTPUT>
public class ObjectFileReader<OUTPUT> extends java.lang.Object implements ObjectReader<java.io.File,OUTPUT>
-
-
Constructor Summary
Constructors Constructor Description ObjectFileReader(ObjectReader<java.io.InputStream,OUTPUT> reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OUTPUTread(java.io.File file)OUTPUTread(java.io.File file, java.lang.String label)
-
-
-
Constructor Detail
-
ObjectFileReader
public ObjectFileReader(ObjectReader<java.io.InputStream,OUTPUT> reader)
-
-
Method Detail
-
read
public OUTPUT read(java.io.File file) throws java.lang.Exception
- Specified by:
readin interfaceObjectReader<java.io.File,OUTPUT>- Throws:
java.lang.Exception
-
read
public OUTPUT read(java.io.File file, java.lang.String label) throws java.lang.Exception
- Specified by:
readin interfaceObjectReader<java.io.File,OUTPUT>- Throws:
java.lang.Exception
-
-