public abstract class PluginBasedStorage<K,T> extends java.lang.Object implements DataStorage<K,T>
限定符和类型 | 字段和说明 |
---|---|
protected org.bukkit.plugin.Plugin |
dependPlugin |
构造器和说明 |
---|
PluginBasedStorage(org.bukkit.plugin.Plugin dependPlugin) |
PluginBasedStorage(java.lang.String dependPluginName) |
限定符和类型 | 方法和说明 |
---|---|
org.bukkit.plugin.Plugin |
getDependPlugin() |
void |
initialize()
在插件加载存储源时执行。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
loadData, saveData, shutdown
public PluginBasedStorage(java.lang.String dependPluginName)
public PluginBasedStorage(org.bukkit.plugin.Plugin dependPlugin)
public void initialize() throws java.lang.NullPointerException
DataStorage
initialize
在接口中 DataStorage<K,T>
java.lang.NullPointerException
public org.bukkit.plugin.Plugin getDependPlugin()
Copyright © 2024. All rights reserved.