Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.embl.ebi.escience.scuflworkers.java
Class ExtractImageLinks  view ExtractImageLinks download ExtractImageLinks.java

java.lang.Object
  extended byorg.embl.ebi.escience.scuflworkers.java.ExtractImageLinks
All Implemented Interfaces:
LocalWorker

public class ExtractImageLinks
extends java.lang.Object
implements LocalWorker

Extract a list of all image links in the supplied html document


Field Summary
private static java.lang.String NEWLINE
           
 
Fields inherited from interface org.embl.ebi.escience.scuflworkers.java.LocalWorker
BINARY, BINARY_ARRAY, HTML, HTML_ARRAY, PNG_IMAGE, PNG_IMAGE_ARRAY, STRING, STRING_ARRAY, UNTYPED, UNTYPED_ARRAY
 
Constructor Summary
ExtractImageLinks()
           
 
Method Summary
 java.util.Map execute(java.util.Map inputs)
          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.
 java.lang.String[] inputNames()
          Get an array of the names of input ports for this processor
 java.lang.String[] inputTypes()
          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.
 java.lang.String[] outputNames()
          Names of the output ports
 java.lang.String[] outputTypes()
          Types of the output ports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEWLINE

private static final java.lang.String NEWLINE
Constructor Detail

ExtractImageLinks

public ExtractImageLinks()
Method Detail

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