Package org.somda.sdc.dpws.device.helper
Class UriBaseContextPath
- java.lang.Object
-
- org.somda.sdc.dpws.device.helper.UriBaseContextPath
-
public class UriBaseContextPath extends Object
Helper to extract a base path from an URI.
-
-
Constructor Summary
Constructors Constructor Description UriBaseContextPath(String uri)Constructor that accepts an URI and tries to cut out the base path on construction.
-
-
-
Constructor Detail
-
UriBaseContextPath
public UriBaseContextPath(String uri)
Constructor that accepts an URI and tries to cut out the base path on construction.- Parameters:
uri- the inspected URI.
-
-
Method Detail
-
get
public String 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.
-
-