public interface DatabaseCollector
| Modifier and Type | Method and Description |
|---|---|
java.net.URI |
getHost(java.lang.String url)
Extracts host as a URI from the jdbc connection string.
|
java.lang.String |
getName(java.lang.String url)
Extracts the database name from a jdbc connection string.
|
boolean |
isApplicable(java.lang.String url)
Checks whether this strategy should be applied to a given connection string.
|
boolean isApplicable(java.lang.String url)
url - jdbc connection stringjava.net.URI getHost(java.lang.String url)
throws java.net.URISyntaxException
url - jdbc connection stringjava.net.URISyntaxException - in case of being unable to parse the connection string to a URIjava.lang.String getName(java.lang.String url)
url - jdbc connection stringCopyright © 2018 SAP SE. All Rights Reserved.