gr.uoa.di.madgik.searchlibrary.operatorlibrary.datasource.predefined
Class PathDataSource
java.lang.Object
java.lang.Thread
gr.uoa.di.madgik.searchlibrary.operatorlibrary.datasource.DataSource
gr.uoa.di.madgik.searchlibrary.operatorlibrary.datasource.predefined.PathDataSource
- All Implemented Interfaces:
- Runnable
public class PathDataSource
- extends DataSource
DataSource created from local file system. Given a local path,
contents are returned through a gRS2.
- Author:
- john.gerbesiotis - DI NKUA
|
Method Summary |
URI |
getLocator()
Abstract method used to retrieve URI locator of the gRS2 |
void |
run()
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
PathDataSource
public PathDataSource(String input,
Map<String,String> inputParameters)
throws Exception
- Parameters:
input - input value of the DataSourceinputParameters - input parameters of the DataSource
- Throws:
Exception - If the initialization of the DataSource fails
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
getLocator
public URI getLocator()
- Description copied from class:
DataSource
- Abstract method used to retrieve URI locator of the gRS2
- Specified by:
getLocator in class DataSource
- Returns:
- A URI locator of the gRS2
Copyright © 2013. All Rights Reserved.