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 |
readFromFile(InputStream input) |
static String |
readFromFile(String filePath) |
static File |
stringToFile(String path,
String body) |
public static String readFromFile(String filePath) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic static String readFromFile(InputStream input) throws IOException
IOExceptionpublic static File stringToFile(String path, String body) throws IOException
IOExceptionpublic static String exportResource(String resourceName, String targetPath) throws Exception
resourceName - ie.: "/SmartLibrary.dll"Exceptionpublic static boolean createFolder(String path)
Copyright © 2019 MuleSoft, Inc.. All rights reserved.