public class FileManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FileManager.Config |
Constructor and Description |
---|
FileManager(SkyBlock skyblock) |
Modifier and Type | Method and Description |
---|---|
void |
deleteConfig(File configPath) |
FileManager.Config |
getConfig(File configPath) |
InputStream |
getConfigContent(File configFile) |
InputStream |
getConfigContent(Reader reader) |
Map<String,FileManager.Config> |
getConfigs() |
org.bukkit.Location |
getLocation(FileManager.Config config,
String path,
boolean direction) |
boolean |
isConfigLoaded(File configPath) |
boolean |
isFileExist(File configPath) |
void |
loadConfigs() |
void |
saveConfig(String configString,
File configFile) |
void |
setLocation(FileManager.Config config,
String path,
org.bukkit.Location location,
boolean direction) |
void |
unloadConfig(File configPath) |
public FileManager(SkyBlock skyblock)
public void loadConfigs()
public void setLocation(FileManager.Config config, String path, org.bukkit.Location location, boolean direction)
public org.bukkit.Location getLocation(FileManager.Config config, String path, boolean direction)
public boolean isFileExist(File configPath)
public void unloadConfig(File configPath)
public void deleteConfig(File configPath)
public FileManager.Config getConfig(File configPath)
public Map<String,FileManager.Config> getConfigs()
public boolean isConfigLoaded(File configPath)
public InputStream getConfigContent(Reader reader)
public InputStream getConfigContent(File configFile)
Copyright © 2018. All rights reserved.