public abstract class AbstractOperationMixLoader extends Object implements OperationMixLoader
| Constructor and Description |
|---|
AbstractOperationMixLoader() |
| Modifier and Type | Method and Description |
|---|---|
OperationMix |
load(File file)
Loads an operation mix from the given file
|
protected abstract List<Operation> |
parseFile(File file)
Parses a file to produce an operation mix
|
protected File |
resolveFile(File file)
Resolves a file to see if it a valid file that exists either on disk or
in the class path
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPreferredExtensionpublic OperationMix load(File file) throws IOException
OperationMixLoaderload in interface OperationMixLoaderfile - FileIOExceptionprotected File resolveFile(File file) throws FileNotFoundException
file - File to resolveFileNotFoundException - Thrown if the file cannot be resolvedprotected abstract List<Operation> parseFile(File file) throws FileNotFoundException, IOException
file - FileFileNotFoundException - Thrown if the mix file cannot be foundIOException - Thrown if there is a problem accessing the mix file or
parsing its contentsCopyright © 2014. All Rights Reserved.