org.gcube.execution.textExtraction.job
Class TextExtractionJob

java.lang.Object
  extended by org.gcube.execution.textExtraction.job.TextExtractionJob

public class TextExtractionJob
extends java.lang.Object


Constructor Summary
TextExtractionJob()
           
 
Method Summary
static JobResultSetConsumer genericSearch(java.lang.String query, java.lang.String scope)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextExtractionJob

public TextExtractionJob()
Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
args - Parameters are: String url: the url of the server to which ASL is installed String query: the query that will be submitted to Search Master String ftpHost: the ftp host uri String repositoryID: the id of the repository who's documents are transformed String scope: the scope String dtsInputCollectionId: the collection id of the collection from which the file with the PDF URIs will be published as input to DTS String ftpUser String ftpPassword String ftpPort String suggestedDTSEpr String suggestedOCREpr String ftpFolder
Throws:
java.lang.Exception

genericSearch

public static JobResultSetConsumer genericSearch(java.lang.String query,
                                                 java.lang.String scope)
                                          throws URIRetrievalFromISCacheException,
                                                 java.net.URISyntaxException,
                                                 gRS2CreationException
Throws:
URIRetrievalFromISCacheException
java.net.URISyntaxException
gRS2CreationException