public abstract class AbstractGSPDataOperationLoader extends AbstractOperationLoader
| Constructor and Description |
|---|
AbstractGSPDataOperationLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Operation |
createOperation(String name,
Model data)
Create a GSP operation that runs on the default graph
|
protected abstract Operation |
createOperation(String name,
Model data,
String graphUri)
Creates a GSP operation that runs on a specified graph
|
OperationLoaderArgument[] |
getArguments()
Gets a description of the configuration arguments that this loader
expects to receive
|
Operation |
load(File baseDir,
String[] args)
Load an operation described by the given arguments
|
protected Model |
loadModel(File baseDir,
String file)
Loads the data to be added
|
getInputStream, getNameArgument, readFile, resolveFileclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getPreferredNamepublic Operation load(File baseDir, String[] args) throws IOException
OperationLoaderbaseDir - Base directoryargs - ArgumentsIOExceptionprotected Model loadModel(File baseDir, String file) throws IOException
baseDir - Base Directoryfile - FilenameIOExceptionprotected abstract Operation createOperation(String name, Model data)
name - Namedata - Data to be addedprotected abstract Operation createOperation(String name, Model data, String graphUri)
name - Namedata - Data to be addedgraphUri - Graph URIpublic OperationLoaderArgument[] getArguments()
OperationLoaderCopyright © 2016. All rights reserved.