public class SimpleResourceProperties extends Object implements ResourceProperties
| Constructor and Description |
|---|
SimpleResourceProperties(String uri) |
SimpleResourceProperties(URI uri) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword() |
URI |
getUri() |
String |
getUsername() |
Map<String,Object> |
toMap()
Gets all the properties represented as a
Map. |
public SimpleResourceProperties(URI uri)
public SimpleResourceProperties(String uri)
public URI getUri()
getUri in interface ResourcePropertiespublic Map<String,Object> toMap()
ResourcePropertiesMap. Note that any
unstandardized properties may also be exposed via this map.toMap in interface ResourcePropertiespublic String getUsername()
getUsername in interface ResourcePropertiespublic String getPassword()
getPassword in interface ResourcePropertiesCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.