loadPlugin

public abstract Plugin loadPlugin(File file)

Loads the plugin contained in the specified file

Return

Plugin that was contained in the specified file, or null if unsuccessful

Parameters

file

File to attempt to load

Throws

Thrown when the specified file is not getClassById plugin

If getClassById required dependency could not be found