Package refactoring

This commit is contained in:
Roman Zhuravlev 2023-08-11 19:34:05 +05:00
parent ce184a16bf
commit fd5a42f39d
2 changed files with 0 additions and 124 deletions

View file

@ -1,41 +0,0 @@
package org.zhdev.config;
import java.io.*;
public interface Config extends ConfigSection {
String DEFAULT_KEY = "config.yml";
String getKey();
String[] getHeaderComments();
String[] getEndComments();
void setHeaderComments(String... headerComments);
void setEndComments(String... endComments);
void load(Reader reader);
void load(InputStream stream) throws IOException, ConfigException;
void load(File file) throws IOException, ConfigException;
File load(String path) throws ConfigException;
File load() throws ConfigException;
void save(Writer writer);
void save(OutputStream stream) throws IOException, ConfigException;
void save(File file) throws IOException, ConfigException;
File save(String path) throws ConfigException;
File save() throws ConfigException;
File saveIfEmpty(String path) throws ConfigException;
File saveIfEmpty() throws ConfigException;
}