java.lang.Object
org.embl.ebi.escience.scuflworkers.java.WebImageFetcher
- All Implemented Interfaces:
- LocalWorker
- public class WebImageFetcher
- extends java.lang.Object
- implements LocalWorker
Fetch a single image from URL
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NEWLINE
private static final java.lang.String NEWLINE
WebImageFetcher
public WebImageFetcher()
inputNames
public java.lang.String[] inputNames()
- Description copied from interface:
LocalWorker
- Get an array of the names of input ports for this processor
- Specified by:
inputNames in interface LocalWorker
inputTypes
public java.lang.String[] inputTypes()
- Description copied from interface:
LocalWorker
- Get an array of the string types for the inputs defined by
the inputNames() method, these should probably use the
constants defined in this interface but may use any valid
Baclava data type specifier.
- Specified by:
inputTypes in interface LocalWorker
outputNames
public java.lang.String[] outputNames()
- Description copied from interface:
LocalWorker
- Names of the output ports
- Specified by:
outputNames in interface LocalWorker
outputTypes
public java.lang.String[] outputTypes()
- Description copied from interface:
LocalWorker
- Types of the output ports
- Specified by:
outputTypes in interface LocalWorker
execute
public java.util.Map execute(java.util.Map inputs)
throws uk.ac.soton.itinnovation.taverna.enactor.entities.TaskExecutionException
- Fetch the web page pointed to by the URL supplied as the 'url'
parameter into the service, the 'base' parameter specifies a
URL to use as the base for relative URL resolution.
- Specified by:
execute in interface LocalWorker