|
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.JSONReaderPipelet
public class JSONReaderPipelet
Reads an Any object from JSON.
Copyright (c) 2012 Attensity Europe GmbH
| Field Summary | |
|---|---|
static java.lang.String |
INPUT_NAME_PROPERTY
Name of the property that contains the name of the input attribute or attachment. |
static java.lang.String |
INPUT_TYPE_PROPERTY
Name of the property that contains the type of the input (attribute/attachment). |
static java.lang.String |
OUTPUT_ATTRIBUTE_PROPERTY
Name of the property that contains the name of the output attribute. |
| Constructor Summary | |
|---|---|
JSONReaderPipelet()
|
|
| Method Summary | |
|---|---|
void |
configure(AnyMap config)
Initializes parameters. |
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 INPUT_NAME_PROPERTY
public static final java.lang.String INPUT_TYPE_PROPERTY
public static final java.lang.String OUTPUT_ATTRIBUTE_PROPERTY
| Constructor Detail |
|---|
public JSONReaderPipelet()
| Method Detail |
|---|
public void configure(AnyMap config)
throws ProcessingException
configure in interface Pipeletconfig - configuration of pipelet.
ProcessingException - configuration is not applicable for pipelet (missing properties, wrong datatypes)Pipelet.configure(AnyMap)
public java.lang.String[] process(Blackboard blackboard,
java.lang.String[] recordIds)
throws ProcessingException
Pipelet
process in interface Pipeletblackboard - Blackboard holding and managing the records.recordIds - Ids of records to process.
ProcessingException - error during processing.Pipelet.process(Blackboard, String[])
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||