- Property Binder is a Java library
for reading values of properties files in a typesafe way, using the
- JOpt Simple is my own
TDD'ed cut at command line parsing
à la GNU
written in Java. So many libraries do this: Jakarta Commons CLI, JArgs, GNU Getopt
transliterated to Java...many of them with some gnarly code in their
innards and some features I think just don't belong (e.g. converting
arguments to integers or booleans according to programmer specification).
I wasn't convinced that command line parsing is such a gnarly problem, so
I built a solution test-first to see how much cleaner I could make it. I
hope you enjoy the results and get some mileage out of using the library.
Ultimately the real answer for Java programs may be to wrap JVM
invocations in a
script, Perl/Python/Ruby script, something that can
already parse options and translate them into Java system properties. But
after looking at this solution, perhaps you'll like it and be moved to try
TDD on your next project.
- Jaggregate is a
J2SE-5-only collections library that is modeled after the ANSI
Smalltalk collection protocol. It is part personal J2SE 5 learning
aid, part experiment in seeing whether a closure-based collections library
in generic Java is worth all the extra
- Updated code for
of Reflective Method Lookup" article, with tests. Perhaps at some
point I'll make an open source project out of this. For now, use it as
you see fit without restriction.
- Contribution of code to Eric
Interface Compliance with Abstract Test".
- Contribution to JUnit
© Copyright 2003-2009 Paul R. Holser, Jr. All rights reserved.
"Scrabble" is a registered trademark, as described here.