private static PropertyHelper init ( ) { propertHelper = new PropertyHelper ( ) ; try { ResourceBundle bundle = ResourceBundle . getBundle ( "ippdevkit" ) ; propertHelper . setVersion ( bundle . getString ( "version" ) ) ; propertHelper . setRequestSource ( bundle . getString ( "request.source" ) ) ; propertHelper . setRequestSourceHeader ( bundle . getString ( "request.source.header" ) ) ; } catch ( MissingResourceException e ) { LOG . debug ( "no value found for key" , e ) ; } return propertHelper ; }
Method to init the PropertyHelper by loading the ippdevkit . properties file