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 Details

    • 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 Details

    • 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.