-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
1,976 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
::: warning 🚧 This page is under construction | ||
The content of this page may not be the latest. You can go to [Javadoc](https://doc.dev.ultikits.com/javadoc) to see the latest content. | ||
::: | ||
|
||
::: tip 🐌 This page update slowly | ||
The content of this page may not be the latest. You can go to [Javadoc](https://doc.dev.ultikits.com/javadoc) to see the latest content. | ||
::: | ||
|
||
# 类 `UltiToolsPlugin` | ||
|
||
包 `com.ultikits.ultitools.abstracts` | ||
|
||
- java.lang.Object | ||
- com.ultikits.ultitools.abstracts.UltiToolsPlugin | ||
|
||
代表一个 UltiTools 模块及其主类. 其包含了模块正常加载并工作所需的基础方法和字段. 这是一个 IPlugin 的间接实现. | ||
|
||
> 作者: wisdomme, qianmo | ||
> | ||
> 自 6.0.0 可用 | ||
> | ||
> 版本: 1.0.0 | ||
已实现的接口: `IPlugin`, `Localized` | ||
|
||
public abstract class **UltiToolsPlugin** extends java.lang.Object implements IPlugin, Localized | ||
|
||
## 构造器概要 | ||
:::tabs | ||
== 构造器 | ||
`UltiToolsPlugin()` | ||
::: | ||
|
||
## 方法概要 | ||
:::tabs | ||
== 所有方法 | ||
|
||
| 限定符和类型 | 方法和说明 | | ||
|-------------------------------------------------|-----------------------------------------------------------------------------| | ||
| `static CommandManager ` | static CommandManager | | ||
| `<T extends AbstractConfigEntity> T` | getConfig\(java.lang.String path, java.lang.Class\<T> configType) | | ||
| `static ConfigManager ` | getConfigManager\() | | ||
| `<T extends AbstractDataEntity>DataOperator<T>` | getDataOperator\(java.lang.Class\<T> dataClazz) | | ||
| `Language` | getLanguage\() | | ||
| `java.lang.String` | getLanguageCode() | | ||
| `static ListenerManager` | getListenerManager\() | | ||
| `static PluginManager` | getPluginManager\() | | ||
| `static VersionWrapper` | getVersionWrapper\() | | ||
| `static ViewManager` | getViewManager\() | | ||
| `java.lang.String` | i18n\(java.lang.String str) | | ||
| `java.lang.String` | i18n\(java.lang.String code, java.lang.String str)<br>通过指定的语言代码返回一个本地化的字符串。 | | ||
| `<T extends AbstractConfigEntity> void` | saveConfig\(java.lang.String path, java.lang.Class\<T> configType) | | ||
|
||
== 静态方法 | ||
|
||
| 限定符和类型 | 方法和说明 | | ||
|-------------------------------------------------|-----------------------------------------------------------------------------| | ||
| `static CommandManager ` | static CommandManager | | ||
| `static ConfigManager ` | getConfigManager\() | | ||
| `static ListenerManager` | getListenerManager\() | | ||
| `static PluginManager` | getPluginManager\() | | ||
| `static VersionWrapper` | getVersionWrapper\() | | ||
| `static ViewManager` | getViewManager\() | | ||
|
||
== 实例方法 | ||
|
||
| 限定符和类型 | 方法和说明 | | ||
|-------------------------------------------------|-----------------------------------------------------------------------------| | ||
| `<T extends AbstractConfigEntity> T` | getConfig\(java.lang.String path, java.lang.Class\<T> configType) | | ||
| `<T extends AbstractDataEntity>DataOperator<T>` | getDataOperator\(java.lang.Class\<T> dataClazz) | | ||
| `Language` | getLanguage\() | | ||
| `java.lang.String` | getLanguageCode() | | ||
| `java.lang.String` | i18n\(java.lang.String str) | | ||
| `java.lang.String` | i18n\(java.lang.String code, java.lang.String str)<br>通过指定的语言代码返回一个本地化的字符串。 | | ||
| `<T extends AbstractConfigEntity> void` | saveConfig\(java.lang.String path, java.lang.Class\<T> configType) | | ||
|
||
== 具体方法 | ||
|
||
| 限定符和类型 | 方法和说明 | | ||
|-------------------------------------------------|-----------------------------------------------------------------------------| | ||
| `static CommandManager ` | static CommandManager | | ||
| `<T extends AbstractConfigEntity> T` | getConfig\(java.lang.String path, java.lang.Class\<T> configType) | | ||
| `static ConfigManager ` | getConfigManager\() | | ||
| `<T extends AbstractDataEntity>DataOperator<T>` | getDataOperator\(java.lang.Class\<T> dataClazz) | | ||
| `Language` | getLanguage\() | | ||
| `java.lang.String` | getLanguageCode() | | ||
| `static ListenerManager` | getListenerManager\() | | ||
| `static PluginManager` | getPluginManager\() | | ||
| `static VersionWrapper` | getVersionWrapper\() | | ||
| `static ViewManager` | getViewManager\() | | ||
| `java.lang.String` | i18n\(java.lang.String str) | | ||
| `java.lang.String` | i18n\(java.lang.String code, java.lang.String str)<br>通过指定的语言代码返回一个本地化的字符串。 | | ||
| `<T extends AbstractConfigEntity> void` | saveConfig\(java.lang.String path, java.lang.Class\<T> configType) | | ||
|
||
::: | ||
|
||
### 从类继承的方法 | ||
::: info java.lang.Object | ||
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | ||
::: | ||
|
||
### 从接口继承的方法 | ||
::: info com.ultikits.ultitools.interfaces.IPlugin | ||
minUltiToolsVersion, pluginName, registerSelf, reloadSelf, unregisterSelf | ||
::: | ||
|
||
::: info com.ultikits.ultitools.interfaces.Localized | ||
supported | ||
::: | ||
|
||
## 构造器详细资料 | ||
::: info UltiToolsPlugin | ||
UltiToolsPlugin() | ||
::: |
Oops, something went wrong.