Package org.somda.sdc.dpws.device.helper
Class UriBaseContextPath
java.lang.Object
org.somda.sdc.dpws.device.helper.UriBaseContextPath
Helper to extract a base path from an URI.
-
Constructor Summary
ConstructorsConstructorDescriptionUriBaseContextPath(String uri) Constructor that accepts an URI and tries to cut out the base path on construction. -
Method Summary
-
Constructor Details
-
UriBaseContextPath
Constructor that accepts an URI and tries to cut out the base path on construction.- Parameters:
uri- the inspected URI.
-
-
Method Details
-
get
Gets the extracted base path.- Returns:
- the base path or an empty string if the parser was not able to find a base path.
-