Package com.inductiveautomation.snap.web
Class PathUtils
java.lang.Object
com.inductiveautomation.snap.web.PathUtils
Utilities for paths.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
PathUtilspublic PathUtils()
 
- 
- 
Method Details- 
getNormalizedReturns the path in a normal format (strips any trailing file separators).
- 
getChildReturns a path with a filename or relative path added.
- 
stripTrailingSlashStrips any trailing separator from end.
 
-