⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 plugin.java

📁 网站即时通讯系统
💻 JAVA
字号:
package com.valhalla.pluginmanager;/** * Defines the main plugin interface. This interface MUST be implemented by all * JBother plugins. The plugin MUST have a file called "plugin.properties" * somewhere in the jar, and this file MUST define mainClass to be a class that * implements this interface, or the plugin will not work *  * @author Adam Olsen * @version 1.0 */public interface Plugin {    /**     * This method will be called on the mainClass of the plugin at load time.     * This method is responsible for initializing the plugin and registering     * for different plugin events.     *      * @return returns true if the plugin loaded successfully, false if not     */    public boolean init();    /**     * This method will be called on the mainClass of the plugin to unload it.     * After this method is called the class should no longer be being used.     */    public void unload();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -