<?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 How to read specific line characters from an excel file using tjava talend in Talend Data Catalog</title>
    <link>https://community.qlik.com/t5/Talend-Data-Catalog/How-to-read-specific-line-characters-from-an-excel-file-using/m-p/2341451#M2022</link>
    <description>&lt;P&gt;I have an script that reads into the excel file retrieved from the ftp site and check for specific keyword namely or a variable row which has this keyword as: $$WORD$$ ABC&lt;/P&gt;&lt;P&gt;So based on the word if its ABC i have to assign some value to one of the variable and use it like name=ABC&lt;/P&gt;&lt;P&gt;and if $$WORD$$ XYZ then i have to assign the variable name such as string name=XYZ&lt;/P&gt;&lt;P&gt;this particular $$WORD$$ ___ could be in any row or column,how do i find and parse it using java?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(BufferedReader br = &lt;/P&gt;&lt;P&gt;new&lt;/P&gt;&lt;P&gt; BufferedReader(&lt;/P&gt;&lt;P&gt;new&lt;/P&gt;&lt;P&gt; FileReader(str)))&lt;/P&gt;&lt;P&gt;  {&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;for&lt;/P&gt;&lt;P&gt; (&lt;/P&gt;&lt;P&gt;int&lt;/P&gt;&lt;P&gt; i = &lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;; i &amp;lt; n; i++)&lt;/P&gt;&lt;P&gt;              br.readLine();&lt;/P&gt;&lt;P&gt;          line = br.readLine();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;My main concern here is how to read within the file for a specific keyword match and retrieve the results given the fact that $$WORD$$ could be in any row or column of that file&lt;/P&gt;&lt;P&gt;And if there is no $$WORD$$ throw an error out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II.And also when i am trying to use these headers i am getting the error in package:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import org.apache.poi.hssf.usermodel.HSSFWorkbook;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import org.apache.poi.ss.usermodel.Cell;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import org.apache.poi.ss.usermodel.Header;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import org.apache.poi.ss.usermodel.Row;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import org.apache.poi.ss.usermodel.Sheet;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import org.apache.poi.ss.usermodel.Workbook;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PACKAGE ORG.APACHE.POI cannot  be resolved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:03:19 GMT</pubDate>
    <dc:creator>Haresh</dc:creator>
    <dc:date>2024-11-16T01:03:19Z</dc:date>
    <item>
      <title>How to read specific line characters from an excel file using tjava talend</title>
      <link>https://community.qlik.com/t5/Talend-Data-Catalog/How-to-read-specific-line-characters-from-an-excel-file-using/m-p/2341451#M2022</link>
      <description>&lt;P&gt;I have an script that reads into the excel file retrieved from the ftp site and check for specific keyword namely or a variable row which has this keyword as: $$WORD$$ ABC&lt;/P&gt;&lt;P&gt;So based on the word if its ABC i have to assign some value to one of the variable and use it like name=ABC&lt;/P&gt;&lt;P&gt;and if $$WORD$$ XYZ then i have to assign the variable name such as string name=XYZ&lt;/P&gt;&lt;P&gt;this particular $$WORD$$ ___ could be in any row or column,how do i find and parse it using java?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(BufferedReader br = &lt;/P&gt;&lt;P&gt;new&lt;/P&gt;&lt;P&gt; BufferedReader(&lt;/P&gt;&lt;P&gt;new&lt;/P&gt;&lt;P&gt; FileReader(str)))&lt;/P&gt;&lt;P&gt;  {&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;for&lt;/P&gt;&lt;P&gt; (&lt;/P&gt;&lt;P&gt;int&lt;/P&gt;&lt;P&gt; i = &lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;; i &amp;lt; n; i++)&lt;/P&gt;&lt;P&gt;              br.readLine();&lt;/P&gt;&lt;P&gt;          line = br.readLine();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;My main concern here is how to read within the file for a specific keyword match and retrieve the results given the fact that $$WORD$$ could be in any row or column of that file&lt;/P&gt;&lt;P&gt;And if there is no $$WORD$$ throw an error out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II.And also when i am trying to use these headers i am getting the error in package:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import org.apache.poi.hssf.usermodel.HSSFWorkbook;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import org.apache.poi.ss.usermodel.Cell;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import org.apache.poi.ss.usermodel.Header;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import org.apache.poi.ss.usermodel.Row;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import org.apache.poi.ss.usermodel.Sheet;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import org.apache.poi.ss.usermodel.Workbook;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PACKAGE ORG.APACHE.POI cannot  be resolved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Data-Catalog/How-to-read-specific-line-characters-from-an-excel-file-using/m-p/2341451#M2022</guid>
      <dc:creator>Haresh</dc:creator>
      <dc:date>2024-11-16T01:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to read specific line characters from an excel file using tjava talend</title>
      <link>https://community.qlik.com/t5/Talend-Data-Catalog/How-to-read-specific-line-characters-from-an-excel-file-using/m-p/2341452#M2023</link>
      <description>&lt;P&gt;Can I ask why you are writing this i Java instead of using the Talend Excel components to bring your data into your job? There might be an easier and more maintainable way of achieving your goal&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 11:50:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Data-Catalog/How-to-read-specific-line-characters-from-an-excel-file-using/m-p/2341452#M2023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-30T11:50:35Z</dc:date>
    </item>
  </channel>
</rss>

