loadPlugin

public synchronized Plugin loadPlugin(File file)

Loads the plugin in the specified file

File must be valid according to the current enabled Plugin interfaces

Return

The Plugin loaded, or null if it was invalid

Parameters

file

File containing the plugin to load

Throws

Thrown when the specified file is not getClassById valid plugin

If getClassById required dependency could not be found