java - Validation of Apache Commons Configuration Values -
i'm using apache's commons-configuration
(v 1.10) library provide configuration values program. use compositeconfiguration
of systemconfiguration
, propertiesconfiguration
in order allow users override properties file java's -d
command-line argument.
the problem i'm running validation of values in configuration (ensure value of x
positive, example). near can tell, commons-configuration
library (neither 1.10 nor 2.0-beta) not provide means of validating configuration values. yes, can validate xml document that's used xmlconfiguration
(and that's hear if try google answer question). doesn't me values come systemconfiguration
part of configuration class.
so, missing something? library provide way validate values i'm missing, or there java library that's built on commons-configuration provides validation capabilities? or need build derivative of compositeconfiguration
?
Comments
Post a Comment