public class FileUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
deleteRecursive(File path) |
static boolean |
exists(File file) |
static boolean |
exists(String pathname) |
static boolean |
existsInResources(String pathname) |
static String |
getContent(File file) |
static File |
getFile(String pathname) |
static File[] |
getFiles(String pathname,
String format) |
static File[] |
getFilesInResources(String pathname) |
static void |
save(String path,
String name,
String content) |
public static boolean existsInResources(String pathname)
public static void save(String path, String name, String content) throws IOException
public static String getContent(File file) throws IOException
public static boolean deleteRecursive(File path) throws FileNotFoundException
public static boolean exists(String pathname)
public static boolean exists(File file)
Copyright © 2021. All rights reserved.