Monthly Archives: March 2015

Escaping values for CSV files

When serialising data to a Comma Separated Values (CSV) file, it’s important that field values that contain reserved characters are escaped correctly.  For example, if a value contains a unescaped comma, then this value will be incorrectly interpreted as two … Continue reading

Posted in Uncategorized | Leave a comment

Real-world usage of Commons CLI to parse command line arguments

The Apache Commons Command Line Interface (CLI), is a handy little toolkit for handling command line arguments.  Java programs, as with almost all other programs running on an OS that supports a CLI, permits passing of arguments from the user … Continue reading

Posted in Uncategorized | Leave a comment