question: public String fullLocation ( String location ) { StringBuilder buf = new StringBuilder ( ) ; if ( ! envName . isEmpty ( ) ) { String propValue = System . getProperty ( envName ) ; if ( propValue == null ) { String errMsg = "The Java environment (-Dxxx=yyy) variable with name " + envName + " is not set, cannot load resource." ; Debug . logError ( errMsg , module ) ; throw new IllegalArgumentException ( errMsg ) ; } buf . append ( propValue ) ; } buf . append ( prefix ) ; buf . append ( location ) ; return buf . toString ( ) ; }
target:  Just a utility method to be used in loadResource by the implementing class.