1
0
mirror of https://e.coding.net/circlecloud/YumCore.git synced 2024-11-21 01:38:51 +00:00

refactor: 整理配置类类文件

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
502647092 2016-10-10 01:39:20 +08:00
parent 6ac2b8cf78
commit aa7608fba2
8 changed files with 14 additions and 10 deletions

View File

@ -1,4 +1,4 @@
package pw.yumc.YumCore.config;
package pw.yumc.YumCore.config.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;

View File

@ -1,4 +1,4 @@
package pw.yumc.YumCore.config;
package pw.yumc.YumCore.config.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;

View File

@ -1,4 +1,4 @@
package pw.yumc.YumCore.config;
package pw.yumc.YumCore.config.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;

View File

@ -1,9 +1,11 @@
package pw.yumc.YumCore.config;
package pw.yumc.YumCore.config.ext;
import java.io.File;
import org.bukkit.entity.Player;
import pw.yumc.YumCore.config.FileConfig;
/**
* 玩家配置管理类
*

View File

@ -1,10 +1,11 @@
package pw.yumc.YumCore.config;
package pw.yumc.YumCore.config.ext;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import pw.yumc.YumCore.bukkit.Log;
import pw.yumc.YumCore.config.FileConfig;
/**
* 远程配置文件类

View File

@ -1,9 +1,10 @@
package pw.yumc.YumCore.config;
package pw.yumc.YumCore.config.ext;
import java.io.File;
import java.io.IOException;
import pw.yumc.YumCore.bukkit.Log;
import pw.yumc.YumCore.config.FileConfig;
public class YumConfig {
protected static final String REMOTEFILECENTER = "http://data.yumc.pw/config/";

View File

@ -12,9 +12,9 @@ import org.bukkit.ChatColor;
import org.bukkit.configuration.ConfigurationSection;
import pw.yumc.YumCore.bukkit.Log;
import pw.yumc.YumCore.config.ConfigNode;
import pw.yumc.YumCore.config.Default;
import pw.yumc.YumCore.config.Nullable;
import pw.yumc.YumCore.config.annotation.ConfigNode;
import pw.yumc.YumCore.config.annotation.Default;
import pw.yumc.YumCore.config.annotation.Nullable;
/**
* 抽象注入配置

View File

@ -9,7 +9,7 @@ import org.bukkit.material.SpawnEgg;
import pw.yumc.YumCore.bukkit.Log;
import pw.yumc.YumCore.config.FileConfig;
import pw.yumc.YumCore.config.YumConfig;
import pw.yumc.YumCore.config.ext.YumConfig;
/**
* 本地化工具类