public static String getProperty ( final MessageResources msg , final String pname , final String def ) throws Throwable { String p = msg . getMessage ( pname ) ; if ( p == null ) { return def ; } return p ; }
Return a property value or the default