<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic importing ini4j.jar and using it in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/importing-ini4j-jar-and-using-it/m-p/2325724#M95296</link>
    <description>Hi, 
&lt;BR /&gt;Because i'd like to read an ini file, i have to use a tJava and the ini4j library. 
&lt;BR /&gt;I installed ini4j through the "modules" tab of my job. 
&lt;BR /&gt;Once it has been installed, the message "unused" was indicated. Is it wrong? 
&lt;BR /&gt;In my tJava, in the advanced setting tab, i typed import java. but it didn't find my ini4j. 
&lt;BR /&gt;How to import my ini4j library correctly and use it in my tJava? 
&lt;BR /&gt;I searched the forum but found it hard to get the solution. 
&lt;BR /&gt;Thanks a lot! 
&lt;BR /&gt;The java code will be 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;FOR (Ini.Section section : ini.VALUES())&lt;BR /&gt;{&lt;BR /&gt;    System.out.println("");&lt;BR /&gt;    FOR (String OPTION : section.keySet())&lt;BR /&gt;    {&lt;BR /&gt;        System.out.println(OPTION + " = " + section.fetch(OPTION));&lt;BR /&gt;    }&lt;BR /&gt; &lt;BR /&gt;    System.out.println();&lt;BR /&gt;}&lt;/PRE&gt; 
&lt;BR /&gt;(taken from 
&lt;A href="http://www.talendforge.org/bugs/view.php?id=7415)" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/bugs/view.php?id=7415)&lt;/A&gt;</description>
    <pubDate>Sat, 16 Nov 2024 13:45:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T13:45:36Z</dc:date>
    <item>
      <title>importing ini4j.jar and using it</title>
      <link>https://community.qlik.com/t5/Talend-Studio/importing-ini4j-jar-and-using-it/m-p/2325724#M95296</link>
      <description>Hi, 
&lt;BR /&gt;Because i'd like to read an ini file, i have to use a tJava and the ini4j library. 
&lt;BR /&gt;I installed ini4j through the "modules" tab of my job. 
&lt;BR /&gt;Once it has been installed, the message "unused" was indicated. Is it wrong? 
&lt;BR /&gt;In my tJava, in the advanced setting tab, i typed import java. but it didn't find my ini4j. 
&lt;BR /&gt;How to import my ini4j library correctly and use it in my tJava? 
&lt;BR /&gt;I searched the forum but found it hard to get the solution. 
&lt;BR /&gt;Thanks a lot! 
&lt;BR /&gt;The java code will be 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;FOR (Ini.Section section : ini.VALUES())&lt;BR /&gt;{&lt;BR /&gt;    System.out.println("");&lt;BR /&gt;    FOR (String OPTION : section.keySet())&lt;BR /&gt;    {&lt;BR /&gt;        System.out.println(OPTION + " = " + section.fetch(OPTION));&lt;BR /&gt;    }&lt;BR /&gt; &lt;BR /&gt;    System.out.println();&lt;BR /&gt;}&lt;/PRE&gt; 
&lt;BR /&gt;(taken from 
&lt;A href="http://www.talendforge.org/bugs/view.php?id=7415)" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/bugs/view.php?id=7415)&lt;/A&gt;</description>
      <pubDate>Sat, 16 Nov 2024 13:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/importing-ini4j-jar-and-using-it/m-p/2325724#M95296</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: importing ini4j.jar and using it</title>
      <link>https://community.qlik.com/t5/Talend-Studio/importing-ini4j-jar-and-using-it/m-p/2325725#M95297</link>
      <description>Hello 
&lt;BR /&gt;To import a external jar, you should use the tLibraryLoad component. eg:
&lt;BR /&gt;tLibraryLoad
&lt;BR /&gt; |
&lt;BR /&gt;onsubjobok
&lt;BR /&gt; |
&lt;BR /&gt;tJava
&lt;BR /&gt;on tJava, you can use the class like this:
&lt;BR /&gt;pakcageName.className ins=new packageName.className();
&lt;BR /&gt;ins.methodName();
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 23 Sep 2009 08:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/importing-ini4j-jar-and-using-it/m-p/2325725#M95297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-23T08:54:37Z</dc:date>
    </item>
  </channel>
</rss>

