public class FileUtils extends Object
| Constructor and Description |
|---|
FileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static File |
fileOrCopiedFromResource(String name) |
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) throws IOException
IOExceptionCopyright © 2019 GeyserMC. All rights reserved.