Package com.inductiveautomation.snap.web
Class PathUtils
java.lang.Object
com.inductiveautomation.snap.web.PathUtils
Utilities for paths.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Returns a path with a filename or relative path added.static String
getNormalized
(String aPath) Returns the path in a normal format (strips any trailing file separators).static String
stripTrailingSlash
(String aPath) Strips any trailing separator from end.
-
Constructor Details
-
PathUtils
public PathUtils()
-
-
Method Details
-
getNormalized
Returns the path in a normal format (strips any trailing file separators). -
getChild
Returns a path with a filename or relative path added. -
stripTrailingSlash
Strips any trailing separator from end.
-