
KGetOpts is a java library to parse and validate command lines in a java 5 application. It use java 5 features (like enumerations and generics) to provide a type safe interrogation system. By implementing the CommandLineDescription interface, you can also validate arguments, type them and creating options aliases (like long and short GNU options).
This project is also provided with all its JUnit test case, to simply check if a non-regression doesn't occurs.
The eclipse project, integrating all the system, is also in the sourceforge CVS.
The javadoc of the library is accessible online. It's also provided with the library into the download section. The second link is a set of sample code, to show how to use the library.
This library is under GNU/LGPL (Lesser General Public License). This means that you can use this library in any project, whatever its license is (free or not), but if you distribute modified version of this library, it may be under LGPL too. Even if it's not mandatory, if you add a feature or correct a bug, send a patch to me. You can have access to this software because I share it, share your modification as a thank.
You can download an official this library from sourceforge, or directly access to the CVS.
If you have a question or a remark, you can send me an email to kadreg@free.fr.
This site is hosted by : .