Win a copy of Java Challengers this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

Querying Java 2 dimensional Arrays - The ArraySQL class

Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The FormattedDataSet is an open source java tool that creates dynamic content including html and xml. It does a great job of separating data and formatting and both are reusable independently. It is also fast and easy to use. See the web site for an explanation, examples and a live demo.

In addition it has several useful utility classes that are useful even if you don't use the FormattedDataSet class mentioned above. This weekened I added a new class called ArraySQL. Below are my release notes from SourceForge.


The ArraySQL was added to the FormattedDataSet API. ArraySQL allows SQL like synax to be applied to Arrays. This class can be used with the FormattedDataSet or as a standalone utility class. The API also has the ability to convert ResultSet's into 2 dimensional Arrays. This allows you to query ResultSets as the following example shows. See the javadocs at for more examples.

Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic