RoboGeek

RoboGeek's (David Herron) Weblog: co-developer of Robot and several other things related to Java testing.


« Choices and lack of... | Main | Recording movies in... »
20050729 Friday July 29, 2005

Awk-alike programming for Java This seems like a good hint, so I'd like to give it a little more visibility.

Java AWK - parsing csv-files in Java can be fun

The idea Marcus presents is that the REGEX support in Java improved greatly way back in 1.4, and it's now possible to do high quality text processing in Java.  His example is playing with CSV (or I suppose tab-separated) text files in a manner akin to what you do in a shell script.

I'll note in passing that there are several toolkits for dealing with CSV files in Java.  Plus the HSQLDB database package can read/write a CSV file directly as if it were a database.  But neither is the point of Marcus's blog entry, which is to point out that REGEX in Java is pretty good.
(2005-07-29 15:05:31.0) Permalink Comments [0]

Trackback URL: http://blogs.sun.com/robogeek/entry/awk_alike_programming_for_java
Comments:

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed