Class UriPath

java.lang.Object
spark.resource.UriPath

public class UriPath extends Object
Used for converting URL paths.
  • Constructor Details

    • UriPath

      public UriPath()
  • Method Details

    • canonical

      public static String canonical(String path)
      Convert a path to a cananonical form. All instances of "." and ".." are factored out. Null is returned if the path tries to .. above its root.
      Parameters:
      path - the path to convert
      Returns:
      path or null.