活动
最新
False
- 概述
- 加密
- 数据库
- Java
- Python
- 网页 API
开发者活动
上次更新日期 2024年4月23日
关于 Java 活动包
Important: The Java activity package has been made open-source. Feel free to collaborate on our Github repositories.
The Java activity package contains several new 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.
然后,您可以使用 加载 Jar 活动在作用域中加载
.jar
文件。
我们创建了
JavaObject
变量,这是一种自定义数据类型,用于处理 UiPath 中 Java 例程的结果,方法是将结果转换为标准 C# 数据类型或将其作为参数传递给其他 Java 方法。 此外,您可以使用“ 获取字段” 活动从此自定义数据类型中找到的方法检索字段,并将其存储在 JavaObject
变量中。
可以使用“ 调用 Java 方法 ”活动从方法创建此变量,也可以使用“ 创建 Java 对象 ”活动从类创建。