Class LoaderUtils
java.lang.Object
org.pentaho.reporting.libraries.resourceloader.loader.LoaderUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getFileName
(String file) Extracts the file name from a path name.static String
mergePaths
(String parent, String child) Merges two paths.static String
-
Method Details
-
stripLeadingSlashes
-
mergePaths
Merges two paths. A path is recognized as an absolute path, if it has an URL-schema definition attached. A parent is recognized as container path (a directory, in the common language), if it ends with a slash. Todo: Introduce escaping using "\" as escape char.- Parameters:
parent
-child
-- Returns:
- Throws:
ResourceKeyCreationException
-
getFileName
-