public class FileManager extends Object
| Constructor and Description |
|---|
FileManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear(@NotNull File file) |
static @NotNull String |
getContent(@NotNull File file) |
static FileConfiguration |
getFile(@NotNull String folder,
@NotNull String name) |
static InputStreamReader |
getReader(@NotNull File file) |
static void |
putIfAbsent(@NotNull File file) |
static String |
read(File file) |
static void |
save(@NotNull FileConfiguration file,
@NotNull File path) |
static void |
write(File file,
String content) |
public static FileConfiguration getFile(@NotNull @NotNull String folder, @NotNull @NotNull String name)
public static void putIfAbsent(@NotNull
@NotNull File file)
public static void save(@NotNull
@NotNull FileConfiguration file,
@NotNull
@NotNull File path)
public static void clear(@NotNull
@NotNull File file)
public static InputStreamReader getReader(@NotNull @NotNull File file)
Copyright © 2020. All rights reserved.