Package spark.resource
Class UriPath
java.lang.Object
spark.resource.UriPath
Used for converting URL paths.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UriPath
public UriPath()
-
-
Method Details
-
canonical
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.
-