A directory is valid if it contains a plugin.xml file
containing the plugin's meta information.
Parameters: file - plugin directory to check true, if directory contains plugin.
searchPlugins() Get list of all possible plugin folders.
Method Detail
checkDirectory
public static boolean checkDirectory(File file)(Code)
Check if directory is valid plugin directory.
A directory is valid if it contains a plugin.xml file
containing the plugin's meta information.
Parameters: file - plugin directory to check true, if directory contains plugin. False, otherwise.
filterDirectories
public static File[] filterDirectories(File[] files)(Code)
Filter out directories which are valid. Remove all
other files.
Parameters: files - array of plugin directories array of valid plugin directories