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 StringReturns a path with a filename or relative path added.static StringgetNormalized(String aPath) Returns the path in a normal format (strips any trailing file separators).static StringstripTrailingSlash(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.
-