public class FileUtil extends ContextAwareBase
| Modifier and Type | Method and Description |
|---|---|
void |
copy(java.lang.String src,
java.lang.String destination) |
static boolean |
createMissingParentDirectories(java.io.File file)
Creates the parent directories of a file.
|
static java.net.URL |
fileToURL(java.io.File file) |
java.lang.String |
resourceAsString(java.lang.ClassLoader classLoader,
java.lang.String resourceName) |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContextpublic FileUtil(Context context)
public static java.net.URL fileToURL(java.io.File file)
public static boolean createMissingParentDirectories(java.io.File file)
file - file whose parent directories (if any) should be createdtrue if either no parents were specified, or if all
parent directories were created successfully; false otherwisepublic java.lang.String resourceAsString(java.lang.ClassLoader classLoader,
java.lang.String resourceName)
public void copy(java.lang.String src,
java.lang.String destination)
throws RolloverFailure
RolloverFailureCopyright © 2010 - 2023 Adobe. All Rights Reserved