[Py4j-users] Create "new <object>"?
Status: Beta
Brought to you by:
barthe
From: Israel B. <is...@ra...> - 2015-03-27 18:38:56
|
Is there a way in py4j to call the java "new" command? That is, in java I have some code like: InputStream data=new ByteArrayInputStream(jsonData.getBytes("UTF-8")); Is there a way to pull that across to the python side, or do I just have to make a bunch of utility functions in Java for this? I'm trying to make the Jasper Reports library available to my python code, and while it works for the most part I haven't yet figured out object creation. Thanks. ----------------------------------------------- Israel Brewster Systems Analyst II Ravn Alaska 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7293 ----------------------------------------------- |