Author |
Mike Haberman |
Creation date |
06/06/2011 |
Firing policy |
all |
Package |
org.seasr.meandre.components.transform.text |
DESCRIPTION
Performs simple text replacement, based on input configuration
INPUTS
Name |
Description |
Example |
|---|---|---|
text |
The text to be cleaned TYPE: java.lang.String TYPE: org.seasr.datatypes.BasicDataTypes.Strings TYPE: byte[] TYPE: org.seasr.datatypes.BasicDataTypes.Bytes TYPE: java.lang.Object |
|
mapData |
mapData format: newText = {old1, old2, old3}; newText2 = {old4,old5}; newText3=old6; = deleteText If you need to use an equals sign, use := to separate values (e.g. newtext=blah := {old1=A,old2} )Note this replacement does NOT use regular expressions and is token based. Hence it will attemp to do matching based on whole tokens (not prefixes, suffix, parts)see Text Cleaner for a component that uses regular expressions. TYPE: org.seasr.datatypes.BasicDataTypes.Strings |
|
OUTPUTS
Name |
Description |
Example |
|---|---|---|
text |
The cleaned text TYPE: org.seasr.datatypes.BasicDataTypes.Strings |
|
error |
This port is used to output any unhandled errors encountered during the execution of this component |
|
PROPERTIES
Name |
Description |
Default value |
|---|---|---|
_debug_level |
Controls the verbosity of debug messages printed by the component during execution. Possible values are: off, severe, warning, info, config, fine, finer, finest, all Append ',mirror' to any of the values above to mirror that output to the server logs. |
info |
ignoreCase |
ignore letter case of the matched text |
true |
_ignore_errors |
Set to 'true' to ignore all unhandled exceptions and prevent the flow from being terminated. Setting this property to 'false' will result in the flow being terminated in the event an unhandled exception is thrown during the execution of this component |
false |
Add Comment