public void load ( Configuration config ) { String comment = "" ; for ( String c : comments ) { if ( MalisisCore . isClient ( ) ) comment += I18n . format ( c ) + " " ; else comment += c + " " ; } property = config . get ( category , key , writeValue ( defaultValue ) , comment , type ) ; value = readValue ( property . getString ( ) ) ; if ( value == null ) throw new NullPointerException ( "readPropertyValue should not return null!" ) ; }
Loads the configuration .