public class BroadleafFileUtils extends Object
| Constructor and Description |
|---|
BroadleafFileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
addLeadingSlash(String fileName)
Adds the leading slash if needed on the beginning of a filename.
|
static String |
buildFilePath(String directory,
String fileName)
Builds a file path that ensures the directory and filename are separated by a single separator.
|
static String |
removeLeadingSlash(String fileName)
Removes the leading slash if found on the passed in filename.
|
public static String buildFilePath(String directory, String fileName)
directory - fileName - public static String removeLeadingSlash(String fileName)
fileName - Copyright © 2014. All Rights Reserved.