title: How can I store data, using Jsoup
body: <p>My problem is the following: I got some data with Jsoup from a website (Jsoup code is from here also)</p>
  
  <pre><code>    public class Kereso {
  
     public static void main(String[] args) throws IOException {
        String html = "http://www.szerencsejatek.hu/xls/otos.html";
  
        Document doc = Jsoup.connect(html).get();
  
  
         Elements tableElements = doc.select("table");
  
         Elements tableRowElements = tableElements.select(":not(thead) tr");
         for (Element row : tableRowElements) {
  
             Elements rowItems = row.select("td");
             for (Element rowItem : rowItems) {
                 System.out.println(rowItem.text());
             }
             System.out.println();
         }
     }
  }
  </code></pre>
  
  <p>Every line that I get from the website should be an object and I want to store all of these objects in an ArrayList</p>
  
  <p>This is the class for the objects, and the data they need: </p>
  
  <pre><code>public class Huzas {
  
      private String ev;
      private String het;
      private String huzasdatum;
      private String otosDb;
      private String otos;
      private String negyesDb;
      private String negyes;
      private String harmasDb;
      private String harmas;
      private String kettesDb;
      private String kettes;
      private int szam1;
      private int szam2;
      private int szam3;
      private int szam4;
      private int szam5;
  
      public Huzas(String ev, String het, String huzasdatum, String otosDb, String otos, String negyesDb, String negyes, String harmasDb, String harmas, String kettesDb, String kettes, int szam1, int szam2, int szam3, int szam4, int szam5) {
          this.ev = ev;
          this.het = het;
          this.huzasdatum = huzasdatum;
          this.otosDb = otosDb;
          this.otos = otos;
          this.negyesDb = negyesDb;
          this.negyes = negyes;
          this.harmasDb = harmasDb;
          this.harmas = harmas;
          this.kettesDb = kettesDb;
          this.kettes = kettes;
          this.szam1 = szam1;
          this.szam2 = szam2;
          this.szam3 = szam3;
          this.szam4 = szam4;
          this.szam5 = szam5;
      }
  </code></pre>
  
  <p>Is it possible to store them in that way? And if Yes, of course how? </p>