public class FileUtils extends Object
| Constructor and Description |
|---|
FileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
createFolder(String path) |
static String |
exportResource(String resourceName,
String targetPath)
Export a resource embedded into a Jar file to the local file path.
|
static String |
getAbsolutePath(String relativePath) |
static String |
readFromFile(String filePath) |
static File |
stringToFile(String path,
String body) |
public static String readFromFile(String filePath) throws IOException
IOExceptionpublic static File stringToFile(String path, String body) throws IOException
IOExceptionpublic static String exportResource(String resourceName, String targetPath) throws IOException
resourceName - ie.: "/SmartLibrary.dll"ExceptionIOExceptionpublic static boolean createFolder(String path)
Copyright © 2025 MuleSoft, Inc.. All rights reserved.