public class BroadleafFileUtils extends Object
| Constructor and Description |
|---|
BroadleafFileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
addLeadingSlash(String fileName)
Deprecated.
this is now just a pass-through to
#addLeadingUnixSlash(String, String). The original method was a
misnomer. |
static String |
addLeadingUnixSlash(String fileName)
Adds the leading slash if needed on the beginning of a filename.
|
static String |
appendUnixPaths(String directory,
String fileName)
Builds a file path that ensures the directory and filename are separated by a single separator.
|
static String |
buildFilePath(String directory,
String fileName)
Deprecated.
this is now just a pass-through to
appendUnixPaths(String, String). The original method was a
misnomer. |
static String |
removeLeadingSlash(String fileName)
Deprecated.
this is now just a pass-through to
#removeLeadingUnixSlash(String, String). The original method was a
misnomer. |
static String |
removeLeadingUnixSlash(String fileName)
Removes the leading slash if found on the passed in filename.
|
@Deprecated public static String buildFilePath(String directory, String fileName)
appendUnixPaths(String, String). The original method was a
misnomer.@Deprecated public static String removeLeadingSlash(String fileName)
#removeLeadingUnixSlash(String, String). The original method was a
misnomer.@Deprecated public static String addLeadingSlash(String fileName)
#addLeadingUnixSlash(String, String). The original method was a
misnomer.public static String appendUnixPaths(String directory, String fileName)
directory - fileName - public static String removeLeadingUnixSlash(String fileName)
fileName - Copyright © 2022. All rights reserved.