Sorting in Java – Letters First

In my last post there was some Java code for bundling up PDF files. In this post, it’s back!

This time with the focus being on the comparison method of the filenames. The problem with the default sort is that a number will always be ranked higher than a letter.

The files I’m trying to . . .

→ Continue reading Sorting in Java – Letters First

SVGs, PDFs and Java

The need to create a variety of similar pages in a PDF file recently came about. Once again unique, once again related to d-touch. When such pages require rotated text, it becomes a whole new level of fun sorting out the co-ordinates and bounds.

A different approach seemed necessary and I found myself thinking how . . .

→ Continue reading SVGs, PDFs and Java