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 ResourceProperties
public Map<String,Object> toMap()
ResourceProperties
Map
. Note that any
unstandardized properties may also be exposed via this map.toMap
in interface ResourceProperties
public String getUsername()
getUsername
in interface ResourceProperties
public String getPassword()
getPassword
in interface ResourceProperties
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.