public class Utils
extends java.lang.Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getDisplayedFileName(java.lang.String fullPath,
java.lang.Integer number)
Returns the name to display for a file.
|
static java.lang.String |
getFolderAsContainerName(java.io.File file)
Returns the name as container if option is on.
|
static java.lang.String |
getStringSeparator(java.lang.String originalName)
Returns the separator or
null. |
static java.lang.String[] |
splitString(java.lang.String originalName)
Returns the partial name of the image's name
|
public static java.lang.String getFolderAsContainerName(java.io.File file)
public static java.lang.String getDisplayedFileName(java.lang.String fullPath,
java.lang.Integer number)
fullPath - The file's absolute path.number - The number of folder to set the name.public static java.lang.String[] splitString(java.lang.String originalName)
originalName - The original name.public static java.lang.String getStringSeparator(java.lang.String originalName)
null.originalName - The original name.