CSV/Excel Utility Package V2.0.1 released

June 15th, 2010

It took me quite some time to upgrade this package to the next level and support Excel. It propably still has some flaws. However, I use it now for some months in production and fixed the most critical bugs. In fact, it seems to run quite stable now.

Please note that upgrading from previous version will require you to update your package imports.

You can download it here or visit the Homepage of the utility where you will find some examples on how to use it.

Log4j Configuration Problem

December 8th, 2009

It seems that some documentation that is hanging around the net contains incorrect information about correct configuration of the log4j system.

Take care that you specify the properties filename as an URL rather than simple plain path location, e.g

java -Dlog4j.configuration=file:///my/path/to/log4j.properties ...

Log4j should find your configuration then. So make sure you include file:// there… ;-)

CSV Utility Package 2.0 Beta

November 26th, 2009

Some work has been spent over the last weeks to upgrade the stable CSV Utility Package. Of course, the new version contains all the useful existing functionality. The most beneficial improvement is the introduction of ExcelReader and ExcelWriter classes that behave like the CSV pendants. This means that you do not have to care about the underlying output format when you want to read or write table-structured data. The most important changes are:

  • Introduction of a TableReader and TableWriter interface
  • Introduction of Excel implementation
  • Aligning CSV and Excel implementations to these interfaces
  • Introduction of a Factory class in order to select correct implementation (CSV or Excel)

The Beta version still requires some work in terms of documentation and code beautifying. However, the CSV part is already frozen and you can use it to upgrade your existing projects to the new utility version. The Excel part still faces some changes while improving usability.

Please be aware also that Java package structure needed to be changed to integrate the new classes and interfaces. Additionally, new 3rd party libraries were integrated (Apache POI and JavaBeans Activation).

Download the Beta Version or browse the existing API Documentation. Bugs and/or enhancements can be requested via Bugzilla.

SMTP and POP servers

November 10th, 2009

There is a great SMTP/POP server list in case you need to configure around some of them:

http://www.patshaping.de/hilfen_ta/pop3_smtp.htm

Calendar 2010

November 4th, 2009

I finalized my DIY-Planner for 2010. You can download the new calendar here (created with my personal fix for DIY Dynamic Templates).

CSV Utility Package V1.0.2 released

October 20th, 2009

I made some fixes and enhancements to the CSV Utility Package:

  • Bug #9: Spaces before and after a value are treated correctly now
  • Enhancement #10: CSVReader forwards comment lines to callback objects
  • Enhancement #11: A test script was integrated to check major features
  • New Class: CSVUtils offers methods for copying JDBC results and JTable data to CSVWriters

You can download the latest release here.

PDF Printer with Linux

October 1st, 2009

I use a PDF Printer on my professional Windows notebook. It enables me to create PDF documents from whatever application. So, how about Linux then. Thanks God, there is cups-pdf. A German tutorial can be found here. If you find a English HowTo, just post the link here.

CSV Utility Package V1.0.1 released

September 28th, 2009

A new update of my CSV Utility Package was released. It contains some fixes and enhancements:

  • Build system creates tar archive
  • Fixed Bug #2: NullPointerException in CSVReader class
  • Fixed Bug #4: Multiline values fail when a line looks like a comment
  • Enhancement #7: Excel Fix: first column of first row must not start with “ID”
  • Enhancement #8: Add row and column count

You can download the latest release here.

Switch Off Caps-Lock

August 21st, 2009

I was always annoyed by CAPS-LOCK key on my Linux notebook. Thanks god, there is a solution:

xmodmap -e "remove lock = Caps_Lock"

will switch this damn thing off. :)

Regular Expression for Email Addresses

June 2nd, 2009

[-A-Z0-9._%+]+@[-A-Z0-9.]+\.[A-Z]{2,4}