net.sf.sparql.benchmarking.loader.mix
Class ClassicQueryMixLoader
java.lang.Object
net.sf.sparql.benchmarking.loader.AbstractOperationMixLoader
net.sf.sparql.benchmarking.loader.AbstractLineBasedMixLoader
net.sf.sparql.benchmarking.loader.mix.ClassicQueryMixLoader
- All Implemented Interfaces:
- OperationMixLoader
public class ClassicQueryMixLoader
- extends AbstractLineBasedMixLoader
A loader for the text based query mix format from the 1.x releases of the API
- Author:
- rvesse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassicQueryMixLoader
public ClassicQueryMixLoader()
parseLine
protected Operation parseLine(File baseDir,
String line)
throws IOException
- Description copied from class:
AbstractLineBasedMixLoader
- Parses a line into an operation
- Specified by:
parseLine
in class AbstractLineBasedMixLoader
- Parameters:
baseDir
- Base directory for resolving relative paths against where
necessaryline
- Line to parse
- Returns:
- Operation
- Throws:
IOException
- Thrown if the line does not represent a valid operation
getPreferredExtension
public String getPreferredExtension()
- Description copied from interface:
OperationMixLoader
- Gets the file extension without the leading
.
that this loader
prefers to use for its mix files
This is the preferred extension used in certain circumstances such as
when registering using
OperationMixLoaderRegistry.addLoader(OperationMixLoader)
but
users may register a mix loader with any extension they want.
- Returns:
- Preferred extension
Copyright © 2014. All Rights Reserved.