private static CloudStorageAccount tryConfigureDevStore ( final Map < String , String > settings ) throws URISyntaxException { if ( matchesSpecification ( settings , allRequired ( USE_DEVELOPMENT_STORAGE_NAME ) , optional ( DEVELOPMENT_STORAGE_PROXY_URI_NAME ) ) ) { if ( ! Boolean . parseBoolean ( settings . get ( USE_DEVELOPMENT_STORAGE_NAME ) ) ) { throw new IllegalArgumentException ( SR . INVALID_CONNECTION_STRING_DEV_STORE_NOT_TRUE ) ; } URI devStoreProxyUri = null ; if ( settings . containsKey ( DEVELOPMENT_STORAGE_PROXY_URI_NAME ) ) { devStoreProxyUri = new URI ( settings . get ( DEVELOPMENT_STORAGE_PROXY_URI_NAME ) ) ; } return getDevelopmentStorageAccount ( devStoreProxyUri ) ; } else { return null ; } }
Evaluates connection settings and returns a CloudStorageAccount representing Development Storage .