public class FileUtils extends Object
| Constructor and Description |
|---|
FileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static File |
fileOrCopiedFromResource(File file,
String name,
Function<String,String> s) |
static File |
fileOrCopiedFromResource(String name,
Function<String,String> s) |
static <T> T |
loadConfig(File src,
Class<T> valueType) |
public static <T> T loadConfig(File src, Class<T> valueType) throws IOException
IOExceptionpublic static File fileOrCopiedFromResource(String name, Function<String,String> s) throws IOException
IOExceptionpublic static File fileOrCopiedFromResource(File file, String name, Function<String,String> s) throws IOException
IOExceptionCopyright © 2020 GeyserMC. All rights reserved.