Difference between revisions of "RegexSplitStage"

From CCIL
Jump to: navigation, search
(Parameters)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
{|
 
{|
 
! Name
 
! Name
 +
! Type
 
! Description
 
! Description
 +
! Comment
 
|-
 
|-
 
| mode
 
| mode
 +
| ''java.lang.String''
 
| ''split'' or ''join''
 
| ''split'' or ''join''
 +
|
 
|-
 
|-
 
| separator
 
| separator
 +
| ''java.lang.String''
 
| string or regex to use when splitting input.
 
| 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 ===
 
=== Registration ===

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		"" .