File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ # LiveCode Builder Standard Library
2+
3+ ## Java utilities
4+
5+ There is now a utility library for manipulating java objects. It contains
6+ a type JObject which wraps a java object, some type conversion operations:
7+
8+ * StringFromJString - converts a Java string to an LCB String
9+ * StringToJString - converts an LCB String to a Java string
10+ * DataFromJByteArray - converts a Java byte array to LCB Data
11+ * DataToJByteArray - converts LCB Data to a Java byte array
12+
13+ and a utility for determining the class of a given java object:
14+
15+ * GetJavaClassName - return an LCB String containing the class name of the given JObject
Original file line number Diff line number Diff line change 1616
1717/**
1818This module provides utility handlers for converting to and from Java types.
19+
20+ Description:
21+
22+ > **Important:** This library is currently supported on Android, Mac and
23+ > Linux. Binding to java classes requires the availability of a Java
24+ > runtime and access to the appropriate libraries. On Mac,
25+ > the `JAVA_HOME` environment variable must be set to the path to your
26+ > Java installation (usually at
27+ > `/Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home`).
28+ > On Linux, your `LD_LIBRARY_PATH` must be set to the folder containing
29+ > the `libjvm.so` library (usually at ${JAVA_HOME}/jre/lib/amd64/server)
30+ > on 64-bit Linux.
31+
1932*/
2033module com.livecode.java
2134
You can’t perform that action at this time.
0 commit comments