Package com.inductiveautomation.snap.web
Class PathUtils
- java.lang.Object
 - 
- com.inductiveautomation.snap.web.PathUtils
 
 
- 
public class PathUtils extends java.lang.ObjectUtilities for paths. 
- 
- 
Constructor Summary
Constructors Constructor Description PathUtils() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetChild(java.lang.String aPath, java.lang.String aChildPath)Returns a path with a filename or relative path added.static java.lang.StringgetNormalized(java.lang.String aPath)Returns the path in a normal format (strips any trailing file separators).static java.lang.StringstripTrailingSlash(java.lang.String aPath)Strips any trailing separator from end. 
 - 
 
- 
- 
Method Detail
- 
getNormalized
public static java.lang.String getNormalized(java.lang.String aPath)
Returns the path in a normal format (strips any trailing file separators). 
- 
getChild
public static java.lang.String getChild(java.lang.String aPath, java.lang.String aChildPath)Returns a path with a filename or relative path added. 
- 
stripTrailingSlash
public static java.lang.String stripTrailingSlash(java.lang.String aPath)
Strips any trailing separator from end. 
 - 
 
 -