I've been writing code that uses java.io.File, for the first time in ages. It's been like meeting up with an old friend and being reminded just how ugly he really is.
For instance: file.list(), which goes to the filesystem to find the names of files does not throw an IOException. On the other hand file.getCanonicalPath(), which 'just' returns a file name does throw an an IOException.
Why the inconsistency, I wonder?
At the top of each page on the IBM developerWorks site, there is a search box. The instructions are:
Use only ( ) " " + -
What if I want to search for something with letters in the name?