Difference between revisions of "RegexSplitStage"
From CCIL
(Created page with " === Class === <pre> service:split-regex rdf:type entity:service ; entity:implementation "net.ccil.common.split.server.RegexSplitStage" ; entity:classpath...") |
(→Parameters) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | === | + | === Parameters === |
+ | {| | ||
+ | ! Name | ||
+ | ! Type | ||
+ | ! Description | ||
+ | ! Comment | ||
+ | |- | ||
+ | | mode | ||
+ | | ''java.lang.String'' | ||
+ | | ''split'' or ''join'' | ||
+ | | | ||
+ | |- | ||
+ | | separator | ||
+ | | ''java.lang.String'' | ||
+ | | string or regex to use when splitting input. | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | === Context === | ||
+ | |||
+ | <pre> | ||
+ | SPLIT_WORDS = split-regex | ||
+ | SPLIT_WORDS.separator = \w | ||
+ | SPLIT_WORDS.mode = split | ||
+ | SPLIT_WORDS.input = content | ||
+ | SPLIT_WORDS.output = words | ||
+ | </pre> | ||
+ | |||
+ | === Registration === | ||
<pre> | <pre> |
Latest revision as of 07:05, 2 June 2017
Parameters
Name | Type | Description | Comment |
---|---|---|---|
mode | java.lang.String | split or join | |
separator | java.lang.String | string or regex to use when splitting input. |
Context
SPLIT_WORDS = split-regex SPLIT_WORDS.separator = \w SPLIT_WORDS.mode = split SPLIT_WORDS.input = content SPLIT_WORDS.output = words
Registration
service:split-regex rdf:type entity:service ; entity:implementation "net.ccil.common.split.server.RegexSplitStage" ; entity:classpath "" ; entity:arguments "" .