public class PathUtil extends Object
Constructor and Description |
---|
PathUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
addLeadingSlash(String path) |
static String |
createPath(String path,
String label) |
static String |
getExtension(String path)
Returns the extension of the file denoted by the path excluding the dot.
|
static String |
getFileName(String path) |
static String |
getFolder(String path) |
static String |
stripExtension(String path)
Removes the extension from a path if one exists.
|
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.