Commits
MikChan authored and md_5 committed 729fc6a80bc
82 82 | |
83 83 | /** |
84 84 | * Loads the plugins contained within the specified directory |
85 85 | * |
86 86 | * @param directory Directory to check for plugins |
87 87 | * @return A list of all plugins loaded |
88 88 | */ |
89 89 | |
90 90 | public Plugin[] loadPlugins( File directory); |
91 91 | |
92 + | /** |
93 + | * Loads the plugins in the list of the files |
94 + | * |
95 + | * @param files List of files containing plugins to load |
96 + | * @return A list of all plugins loaded |
97 + | */ |
98 + | |
99 + | public Plugin[] loadPlugins( File[] files); |
100 + | |
92 101 | /** |
93 102 | * Disables all the loaded plugins |
94 103 | */ |
95 104 | public void disablePlugins(); |
96 105 | |
97 106 | /** |
98 107 | * Disables and removes all plugins |
99 108 | */ |
100 109 | public void clearPlugins(); |
101 110 | |