public static String getPropertyUntrimmed ( String name ) throws MissingPropertyException { if ( PropertiesManager . props == null ) loadProps ( ) ; if ( props == null ) { boolean alreadyReported = registerMissingProperty ( name ) ; throw new MissingPropertyException ( name , alreadyReported ) ; } String val = props . getProperty ( name ) ; if ( val == null ) { boolean alreadyReported = registerMissingProperty ( name ) ; throw new MissingPropertyException ( name , alreadyReported ) ; } return val ; }
Returns the value of a property for a given name including whitespace trailing the property value but not including whitespace leading the property value . An UndeclaredPortalException is thrown if the property cannot be found . This method will never return null .