-
Methods in com.scriptbasic.executors that throw BasicRuntimeException
| Modifier and Type |
Method |
Description |
void |
BasicInterpreter.registerJavaMethod(java.lang.String alias,
java.lang.Class<?> klass,
java.lang.String methodName,
java.lang.Class<?>[] argumentTypes) |
|
void |
BasicMethodRegistry.registerJavaMethod(java.lang.String alias,
java.lang.Class<?> klass,
java.lang.String methodName,
java.lang.Class<?>[] argumentTypes) |
|
-
-
-
-
Methods in com.scriptbasic.spi that throw BasicRuntimeException
| Modifier and Type |
Method |
Description |
void |
Interpreter.registerJavaMethod(java.lang.String alias,
java.lang.Class<?> klass,
java.lang.String methodName,
java.lang.Class<?>[] argumentTypes) |
Register a BASIC function as Java method.
|
-
Methods in com.scriptbasic.utility that throw BasicRuntimeException
| Modifier and Type |
Method |
Description |
static java.lang.Object |
KlassUtility.getField(java.lang.Object object,
java.lang.String fieldName) |
Get the value of a field of an object and return it.
|
static void |
MethodRegisterUtility.registerFunctions(java.lang.Class<?> klass,
Interpreter interpreter) |
Register all annotated methods of the class klass so that they
can be accessed from BASIC.
|
static void |
KlassUtility.setField(java.lang.Object object,
java.lang.String fieldName,
java.lang.Object valueObject) |
Set the field of a Java object.
|
-
Methods in com.scriptbasic.utility.functions that throw BasicRuntimeException
| Modifier and Type |
Method |
Description |
static java.lang.Integer |
UtilityFunctions.asc(java.lang.Object arg) |
Returns an Integer representing the character code corresponding
to the first letter in a string.
|
static java.lang.Double |
UtilityFunctions.cdbl(java.lang.Object arg) |
|
static java.lang.String |
UtilityFunctions.chr(java.lang.Object charcode) |
Returns a String containing the character associated with the specified
character code.
|
static java.lang.Long |
UtilityFunctions.clng(java.lang.Object arg) |
|
static java.lang.String |
StringFunctions.cstr(java.lang.Object o) |
Returns string for the argument.
|
static java.lang.String |
StringFunctions.left(java.lang.Object o,
int len) |
Return len number of characters from the left (the beginning) of the
string.
|
static java.lang.String |
StringFunctions.ltrim(java.lang.Object o) |
Trim the white spaces from the start of the string.
|
static java.lang.String |
StringFunctions.mid(java.lang.Object o,
int start,
int len) |
Return a substring from the string that starts at the position
start and has a length of len.
|
static java.lang.String |
StringFunctions.right(java.lang.Object o,
int len) |
Return len number of characters from the right (the end) of the
string.
|
static java.lang.String |
StringFunctions.rtrim(java.lang.Object o) |
Trim the white spaces from the end of the string.
|
static void |
UtilityFunctions.setByte(byte[] buffer,
java.lang.Long i,
java.lang.Long v) |
|
static java.lang.String |
StringFunctions.trim(java.lang.Object o) |
|
-