Annotated Config Files and Command Line (Java Annotations "config files and command line" to "POJO" binding library)

Supported types

booelan

boolean value will be a switch (no need fora an additional value parameter after it)

int,float,doubleInteger,Float,Double

numbers are converted using default system format

String

string values need no conversion

File

files are created no mattaer if they realy exist. The application decides if the existence of the file is relevant.

Enum

please read this short
guide on enum usage.
enums are looked up from the Enum definition in your code. In case of an unknown value, printed error will show all supported values from the Enum.

EnumSet

as an addtion to Enum support EnumSet is supported directly to again shorten your code and simplify Enum usage even more.

Other..

other types are supported by providing a @ParamFormat annotation. This is preffered approach for other types because it provides consistent error reporting.

Array

array can be of any supported type. Multiple values will be added into array instead of overriding previous one.