Package net.sourceforge.wurfl.lang.oneparam.string

Class Summary
ConcatTwoGroupsOp  
Constant<V> Return a constant string value.
GetFromMapOp  
Identity  
IfStringOp Date: 24/06/11
OverlayOp Overlay operation, with nested runtime support.
RemoveOp Various remove operations.
ReplaceIgnoreCaseOperation Replace occurrences of the regex pattern, compiled with CASE_INSENSITIVE flag with the second argument.
Depending on the third argument, it replaces only the first occurrence: default is false (replaces ALL).
ReplaceOp Find all the occurrences of substringPattern in a given string, then replaces in each of them ALL the matchRegEx occurrences with the replacement string.
For example: [a-z]{2}(-[a-zA-Z]{0,2})? is the complete locale match (substringRegEx);
-[a-zA-Z]{0,2} is the country part (matchRegEx);
This can strip of the country part:
replaceSubstring("-[a-zA-Z]{0,2}", "", Pattern.compile("[a-z]{2}(-[a-zA-Z]{0,2})?"))
For a simple replacement,
replace(String matchRegEx, String replacement)
RuntimeAwareOp Date: 24/06/11
StringOp Operation which accepts a String and returns a String.
StringOpAdapter  
SubstringAfterOperation Returns the substring from first occurrence of searched String on.
SubstringOperation  
 



Copyright © 2012 ScientiaMobile Inc.. All Rights Reserved.