public class StringProcessor
extends java.lang.Object
At this time the class uses Regular Expression support provided by the Jakarta/Apache regexp project to avoid a requirement for Java V1.4.
The JAR file containing the required files should be provided by a standard SAFS install.
Software Automation Framework Support (SAFS) https://safsdev.github.io/
Software Testing Automation Framework (STAF) http://staf.sourceforge.net
Apache Jakarta Regexp Project (Regexp) http://jakarta.apache.org/regexp
Copyright 2003 SAS Institute GNU General Public License (GPL) http://www.opensource.org/licenses/gpl-license.php
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
JAKARTA_REGEX |
(package private) int |
status |
Constructor and Description |
---|
StringProcessor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEmbeddedSubstring(java.lang.String string,
java.lang.String regexStart,
java.lang.String regexStop)
This method takes three string arguments: a string, and two Strings for
the start and stop regular expressions.
|
int |
returnStatus()
returns the status code of the last function called.
|
protected static final java.lang.String JAKARTA_REGEX
int status
public java.lang.String getEmbeddedSubstring(java.lang.String string, java.lang.String regexStart, java.lang.String regexStop)
The following status codes can occur:
0 - Success
38 - JavaError - Regular Expression support not found
47 - Invalid Value(s)
public int returnStatus()
The following codes are implemented:
0 - Success
38 - JavaError - Regular Expression support not found
47 - Invalid Value(s)
Copyright © SAS Institute. All Rights Reserved.