java.io.File

9 PM March 13, 2003

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?

By alang | # | Comments (0)
(Posted to Software Development)

Searching developerWorks

8 PM March 13, 2003

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?

By alang | # | Comments (0)
(Posted to Software Development)
© 2003-2006 Alan Green