SMILA (incubation) API documentation

org.eclipse.smila.ontology.pipelets
Class CreateFileUriPipelet

java.lang.Object
  extended by org.eclipse.smila.ontology.pipelets.CreateFileUriPipelet
All Implemented Interfaces:
IPipelet, SimplePipelet

public class CreateFileUriPipelet
extends java.lang.Object
implements SimplePipelet

write filename in ID key as file:/ URI to rdf:about attribute. Works useful only if the ID key is an absolute path for the same platform as the pipelet is running on.

Author:
jschumacher

Constructor Summary
CreateFileUriPipelet()
           
 
Method Summary
 void configure(PipeletConfiguration configuration)
          set configuration of pipelet. called once after instantiation before the pipelet is actually used in a workflow.
 Id[] process(Blackboard blackboard, Id[] recordIds)
          process records on Blackboard service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateFileUriPipelet

public CreateFileUriPipelet()
Method Detail

process

public Id[] process(Blackboard blackboard,
                    Id[] recordIds)
             throws ProcessingException
process records on Blackboard service.

Specified by:
process in interface SimplePipelet
Parameters:
blackboard - Blackboard service managing the records.
recordIds - Ids of records to process.
Returns:
Ids of result records.
Throws:
ProcessingException - error during processing.
See Also:
SimplePipelet.process(org.eclipse.smila.blackboard.Blackboard, org.eclipse.smila.datamodel.id.Id[])

configure

public void configure(PipeletConfiguration configuration)
               throws ProcessingException
set configuration of pipelet. called once after instantiation before the pipelet is actually used in a workflow.

Specified by:
configure in interface IPipelet
Parameters:
configuration - configuration of pipelet.
Throws:
ProcessingException - configuration is not applicable for pipelet (missing properties, wrong datatypes)
See Also:
#configure(org.eclipse.smila.processing.configuration.PipeletConfiguration)

SMILA (incubation) API documentation