One Star

imports inside tJavaRow

How can I import a java package inside a tJavaRow component? I am aware that I can use the fully qualified name of the class I wish to use, but the code becomes a mess and unreadable very quickly.
But clearly, simply writing "import java.util.regex" for example won't work as the import statement is written right in the middle of the java-code.
5 REPLIES
Employee

Re: imports inside tJavaRow

Hello,
This is not available yet.
You can try to open a new feature request on our bugtracker.
Regards,
One Star

Re: imports inside tJavaRow

done
One Star

Re: imports inside tJavaRow

Any chance this feature has been implemented yet?
Employee

Re: imports inside tJavaRow

Hello,
You can monitor 2812
Regards,
Community Manager

Re: imports inside tJavaRow

Hello exhuma
You can create a new routine for your code and import a Java package in this routine, then use this routine in tJavaRow.
Best regards
shong
----------------------------------------------------------
Talend | Data Agility for Modern Business