net.sf.sparql.benchmarking.loader
Class AbstractNvpOperationLoader

java.lang.Object
  extended by net.sf.sparql.benchmarking.loader.AbstractOperationLoader
      extended by net.sf.sparql.benchmarking.loader.AbstractNvpOperationLoader
All Implemented Interfaces:
OperationLoader
Direct Known Subclasses:
FixedNvpQueryOperationLoader, FixedNvpUpdateOperationLoader, ParameterizedNvpQueryOperationLoader, ParameterizedNvpUpdateOperationLoader

public abstract class AbstractNvpOperationLoader
extends AbstractOperationLoader

Abstract operation loader for operations that take an NVP file as one of their arguments

Author:
rvesse

Constructor Summary
AbstractNvpOperationLoader()
           
 
Method Summary
static OperationLoaderArgument getNvpsArgument()
          Gets the argument that describes the NVPs argument
protected  Map<String,List<String>> parseNvps(File baseDir, String nvpFile)
          Method which parses NVPs from the given file
 
Methods inherited from class net.sf.sparql.benchmarking.loader.AbstractOperationLoader
getInputStream, getNameArgument, readFile, resolveFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.sparql.benchmarking.loader.OperationLoader
getArguments, getDescription, getPreferredName, load
 

Constructor Detail

AbstractNvpOperationLoader

public AbstractNvpOperationLoader()
Method Detail

parseNvps

protected final Map<String,List<String>> parseNvps(File baseDir,
                                                   String nvpFile)
                                            throws IOException,
                                                   FileNotFoundException
Method which parses NVPs from the given file

Parameters:
baseDir - Base directory
nvpFile - NVP file
Returns:
Parsed NVPs
Throws:
IOException
FileNotFoundException

getNvpsArgument

public static OperationLoaderArgument getNvpsArgument()
Gets the argument that describes the NVPs argument

Returns:
NVPs argument


Copyright © 2014. All Rights Reserved.