- 概述
- 加密
- 数据库
- Java
- Python
- 网页 API
开发者活动
Java活动包已开源。您可以随时在我们的GitHub 存储库上进行协作。
The Java activity package contains several activities that help you harness the power of Java code. With the Java Scope activity you can initialize a Java library, thus providing a scope for all subsequent activities. All activities in this pack must be run inside the aforementioned scope.
The Java activity package supports the cross-platform project compatibility, and all the activities in the package are available in the modern design experience, including Studio Web.
然后,您可以使用“加载 Jar”活动在作用域内加载.jar文件。
我们创建了JavaObject变量,这是一个自定义数据类型,用于在 UiPath 中处理来自 Java 例程的结果,方法是将其转换为标准 C# 数据类型或将其作为参数传递给其他 Java 方法。此外,您还可以使用“获取字段”活动从此自定义数据类型中的方法检索字段,并将其存储在JavaObject变量中。
此变量可以使用“调用 Java 方法”活动从方法创建,也可以使用“创建 Java 对象”活动从类创建。
如果您发现使用 .NET 更轻松,则可以使用“转换 Java 对象”活动将任何JavaObject变量转换为Object变量。