|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.googlecode.fascinator.transformer.jython.JythonTransformer
public class JythonTransformer
This plugin provides method for batch processing the DigitalObjects
| Option | Description | Required | Default |
|---|---|---|---|
| id | Transformer Id | Yes | jython |
"jython": {
"id": "jython"
}
None
| Constructor Summary | |
|---|---|
JythonTransformer()
Extractor Constructor |
|
| Method Summary | |
|---|---|
String |
getId()
Overridden method getId |
String |
getName()
Overridden method getName |
PluginDescription |
getPluginDetails()
Gets a PluginDescription object relating to this plugin. |
void |
init(File jsonFile)
Overridden method init to initialize |
void |
init(String jsonString)
Overridden method init to initialize |
void |
shutdown()
Overridden method shutdown method |
DigitalObject |
transform(DigitalObject in,
String jsonConfig)
Overridden transform method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JythonTransformer()
| Method Detail |
|---|
public void init(String jsonString)
throws PluginException
init in interface PluginjsonString - of configuration for Extractor
PluginException - if fail to parse the config
public void init(File jsonFile)
throws PluginException
init in interface PluginjsonFile - to retrieve the configuration for Extractor
PluginException - if fail to read the config filepublic String getId()
getId in interface Pluginpublic String getName()
getName in interface Pluginpublic PluginDescription getPluginDetails()
getPluginDetails in interface Plugin
public void shutdown()
throws PluginException
shutdown in interface PluginPluginException
public DigitalObject transform(DigitalObject in,
String jsonConfig)
throws TransformerException
transform in interface TransformerDigitalObject - to be processed
TransformerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||