Sun Aug 25, 2019 4:40 am
Login Register Lost Password? Contact Us


HPCC Java Plugin

Comments and questions related to the Enterprise Control Language

Wed Jan 30, 2019 7:38 pm Change Time Zone

All,

I have a jar file named 'foobar.jar'. In foobar.jar is a package named 'com.b.a' that contains a class named 'MyClass' with a function named 'myFunc'. How will the signature look when referencing it from HPCC? Will it be

Code: Select all
import java;
myFunc(string txt) := import(java,'com/b/a/MyClass.myFunc:(Ljava/lang/String)Ljava/lang/String;');
wjblack
 
Posts: 25
Joined: Mon Jul 11, 2016 12:45 pm

Thu Jan 31, 2019 10:42 am Change Time Zone

That looks about right to me.
richardkchapman
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 109
Joined: Fri Jun 17, 2011 8:59 am


Return to ECL

Who is online

Users browsing this forum: No registered users and 1 guest

cron