|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.processing.pipelets.FileWriterPipelet
public class FileWriterPipelet
This pipelet writes an attachment into a file described by a path attribute.
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTY_APPEND
The name of the property that indicates to append the attachment to the file. |
static java.lang.String |
PROPERTY_CONTENT_ATTACHMENT
The name of the property that contains the content attachment name. |
static java.lang.String |
PROPERTY_PATH_ATTRIBUTE
The name of the property that contains the path attribute name. |
| Constructor Summary | |
|---|---|
FileWriterPipelet()
|
|
| Method Summary | |
|---|---|
void |
configure(AnyMap configuration)
set configuration of pipelet. called once after instantiation before the pipelet is actually used in a workflow. |
java.lang.String[] |
process(Blackboard blackboard,
java.lang.String[] recordIds)
process given records. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_PATH_ATTRIBUTE
public static final java.lang.String PROPERTY_CONTENT_ATTACHMENT
public static final java.lang.String PROPERTY_APPEND
| Constructor Detail |
|---|
public FileWriterPipelet()
| Method Detail |
|---|
public void configure(AnyMap configuration)
throws ProcessingException
configure in interface Pipeletconfiguration - configuration of pipelet.
ProcessingException - configuration is not applicable for pipelet (missing properties, wrong datatypes)
public java.lang.String[] process(Blackboard blackboard,
java.lang.String[] recordIds)
throws ProcessingException
process in interface Pipeletblackboard - Blackboard holding and managing the records.recordIds - Ids of records to process.
ProcessingException - error during processing.
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||