1
mirror of https://github.com/CarmJos/EasyConfiguration.git synced 2024-09-19 20:25:51 +00:00

[1.0.3] 修改部分方法名,避免混淆。

This commit is contained in:
Carm Jos 2022-04-17 19:16:31 +08:00
parent 172098a613
commit 9ae21a79fa
12 changed files with 20 additions and 11 deletions

View File

@ -0,0 +1,9 @@
# EasyConfiguration Javadoc
基于 [Github Pages](https://pages.github.com/) 搭建,请访问 [JavaDoc](https://carmjos.github.io/EasyConfiguration) 。
## 如何实现?
若您也想通过 [Github Actions](https://docs.github.com/en/actions/learn-github-actions)
自动部署项目的Javadoc到 [Github Pages](https://pages.github.com/)
可以参考我的文章 [《自动部署Javadoc到Github Pages》](https://pages.carm.cc/doc/javadoc-in-github.html) 。

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>easyconfiguration-parent</artifactId>
<groupId>cc.carm.lib</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<properties>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>easyconfiguration-parent</artifactId>
<groupId>cc.carm.lib</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -11,7 +11,7 @@ public class EasyConfiguration {
YamlConfigProvider provider = new YamlConfigProvider(file);
try {
provider.initializeFile(source);
provider.initialize();
provider.initializeConfig();
} catch (IOException e) {
e.printStackTrace();
}

View File

@ -17,7 +17,7 @@ public class YamlConfigProvider extends FileConfigProvider {
super(file);
}
public void initialize() {
public void initializeConfig() {
this.configuration = CommentedYamlConfiguration.loadConfiguration(comments, file);
}

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>easyconfiguration-parent</artifactId>
<groupId>cc.carm.lib</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -11,7 +11,7 @@ public class EasyConfiguration {
BungeeConfigProvider provider = new BungeeConfigProvider(file);
try {
provider.initializeFile(source);
provider.initialize();
provider.initializeConfig();
} catch (IOException e) {
e.printStackTrace();
}

View File

@ -19,7 +19,7 @@ public class BungeeConfigProvider extends FileConfigProvider {
super(file);
}
public void initialize() throws IOException {
public void initializeConfig() throws IOException {
this.configuration = getLoader().load(file);
}

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>easyconfiguration-parent</artifactId>
<groupId>cc.carm.lib</groupId>
<version>1.0.2</version>
<version>1.0.3</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -12,7 +12,7 @@ public class EasyConfiguration {
SpigotConfigProvider provider = new SpigotConfigProvider(file);
try {
provider.initializeFile(source);
provider.initialize();
provider.initializeConfig();
} catch (IOException e) {
e.printStackTrace();
}

View File

@ -17,7 +17,7 @@ public class SpigotConfigProvider extends FileConfigProvider {
super(file);
}
public void initialize() {
public void initializeConfig() {
this.configuration = CommentedYamlConfiguration.loadConfiguration(comments, file);
}

View File

@ -15,7 +15,7 @@
<groupId>cc.carm.lib</groupId>
<artifactId>easyconfiguration-parent</artifactId>
<packaging>pom</packaging>
<version>1.0.2</version>
<version>1.0.3</version>
<modules>
<module>core</module>