gr.uoa.di.madgik.searchlibrary.operatorlibrary.datasource.predefined
Class FTPDataSource
java.lang.Object
java.lang.Thread
gr.uoa.di.madgik.searchlibrary.operatorlibrary.datasource.DataSource
gr.uoa.di.madgik.searchlibrary.operatorlibrary.datasource.predefined.FTPDataSource
- All Implemented Interfaces:
- Runnable
public class FTPDataSource
- extends DataSource
DataSource created from a ftp location. Given an ftp url and possible
required credentials, 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 |
static void |
main(String[] args)
|
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 |
FTPDataSource
public FTPDataSource(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
main
public static void main(String[] args)
throws URISyntaxException
- Throws:
URISyntaxException
Copyright © 2013. All Rights Reserved.