static String findStorageProperty ( Map < String , String > targetProperties , String storageId , String propertyPrefix ) { String property = propertyPrefix + storageId ; String value = targetProperties . get ( property ) ; return Utils . isEmptyOrWhitespaces ( value ) ? DEFAULTS . get ( propertyPrefix ) : value . trim ( ) ; }
Finds a storage property for a given storage ID .