net.sf.sparql.benchmarking.loader.mix
Class TsvMixLoader
java.lang.Object
net.sf.sparql.benchmarking.loader.AbstractOperationMixLoader
net.sf.sparql.benchmarking.loader.AbstractLineBasedMixLoader
net.sf.sparql.benchmarking.loader.mix.TsvMixLoader
- All Implemented Interfaces:
- OperationMixLoader
public class TsvMixLoader
- extends AbstractLineBasedMixLoader
An operation mix loader that provides support for the new tab separated mix
file format introduced in the 2.x releases
- Author:
- rvesse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TsvMixLoader
public TsvMixLoader()
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
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
Copyright © 2014. All Rights Reserved.