public class JavaDrawingHandler extends java.lang.Object implements RexxRedirectingCommandHandler
| Modifier and Type | Field and Description |
|---|---|
boolean |
bUseInt4numbers |
boolean |
bUseNames4canonical |
static java.lang.String |
version |
ARE_OUTPUT_AND_ERROR_SAME_TARGET, IS_ERROR_REDIRECTED, IS_INPUT_REDIRECTED, IS_OUTPUT_REDIRECTED, IS_REDIRECTION_REQUESTED| Constructor and Description |
|---|
JavaDrawingHandler() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkBooleanValue(java.lang.String value)
Allow "1", ".true", "true" in any case to resolve to a boolean true;
allow "0", ".false", "false" in any case to resolve to a boolean false;
|
static boolean |
getBooleanValue(java.lang.String value)
Determines the boolean value of a BSF4ooRexx850 boolean string and returns it.
|
static java.lang.String[] |
getNonBlankWords(java.lang.String s,
java.util.ArrayList<int[]> al)
This will create a word array from the supplied ArrayList returned by getWordBoundaries.
|
static java.util.ArrayList<int[]> |
getWordBoundaries(java.lang.String s,
int maxNumberOfWords)
Parses the string and returns an ArrayList of int[] denoting the start and the end
of each word in the string delimited by ' ' or '\t' the Rexx whitespace characters.
|
java.lang.Object |
handleCommand(java.lang.Object slot,
java.lang.String address,
java.lang.String command)
Callback method of this command handler.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitareOutputAndErrorSameTarget, isErrorRedirected, isInputRedirected, isOutputRedirected, isRedirectable, isRedirectionRequested, readInput, readInputAsByteArray, readInputBuffer, toString, writeError, writeError, writeErrorBuffer, writeOutput, writeOutput, writeOutputBuffercheckCondition, clearCondition, dropContextVariable, getAllContextVariables, getCallerContext, getConditionInfo, getContextVariable, getGlobalEnvironment, getInterpreterVersion, getLanguageLevel, getLocalEnvironment, getNil, haltThread, newArray, newDirectory, newStem, newStringTable, raiseCondition, raiseException, raiseException0, raiseException1, raiseException2, setContextVariable, setContextVariableToNil, setThreadTracepublic static final java.lang.String version
public boolean bUseNames4canonical
public boolean bUseInt4numbers
public java.lang.Object handleCommand(java.lang.Object slot,
java.lang.String address,
java.lang.String command)
handleCommand in interface RexxCommandHandlerslot - opaque argument (needs to be used if invoking the Handler default methods to interact with the Rexx context)address - the environment name this handler works forcommand - the command to processRC (result code)public static java.lang.String[] getNonBlankWords(java.lang.String s,
java.util.ArrayList<int[]> al)
s - Stringal - ArrayList returned by getWordBoundariespublic static java.util.ArrayList<int[]> getWordBoundaries(java.lang.String s,
int maxNumberOfWords)
s - the string to parsemaxNumberOfWords - if -1 processes always entire string, otherwise stops after having
created maxNumberOfWords itemspublic static boolean checkBooleanValue(java.lang.String value)
value - the string that represents a BSF4ooRexx850 boolean valuepublic static boolean getBooleanValue(java.lang.String value)
value - the string containing a BSF4ooRexx850 boolean rendering