public abstract class AbstractLineBasedMixLoader extends AbstractOperationMixLoader implements OperationMixLoader
Constructor and Description |
---|
AbstractLineBasedMixLoader() |
Modifier and Type | Method and Description |
---|---|
protected List<Operation> |
parseFile(File file)
Parses a file to produce an operation mix
|
protected abstract Operation |
parseLine(File baseDir,
String line)
Parses a line into an operation
|
load, resolveFile
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPreferredExtension, load
protected List<Operation> parseFile(File file) throws FileNotFoundException, IOException
AbstractOperationMixLoader
parseFile
in class AbstractOperationMixLoader
file
- FileFileNotFoundException
- Thrown if the mix file cannot be foundIOException
- Thrown if there is a problem accessing the mix file or
parsing its contentsprotected abstract Operation parseLine(File baseDir, String line) throws IOException
baseDir
- Base directory for resolving relative paths against where
necessaryline
- Line to parseIOException
- Thrown if the line does not represent a valid operationCopyright © 2015. All rights reserved.