Class PathDescriptorHelper
- java.lang.Object
-
- com.helger.photon.api.pathdescriptor.PathDescriptorHelper
-
@Immutable public final class PathDescriptorHelper extends Object
Utility class for API path handling.- Author:
- Philip Helger
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.helger.commons.collection.impl.ICommonsList<String>getCleanPathParts(String sPath)Clean the provided path and split it into parts, separated by slashes.
-
-
-
Method Detail
-
getCleanPathParts
@Nonnull @ReturnsMutableCopy public static com.helger.commons.collection.impl.ICommonsList<String> getCleanPathParts(@Nonnull String sPath)
Clean the provided path and split it into parts, separated by slashes.- Parameters:
sPath- Source path. May not benull.- Returns:
- The list with all path parts. Never
null.
-
-