List of usage examples for weka.core PluginManager addFromProperties
public static synchronized void addFromProperties(Properties props) throws Exception
From source file:adams.gui.application.WekaPluginManagerExtensions.java
License:Open Source License
/** * Performs the initialization./*from w ww . ja va 2 s . c o m*/ * * @param parent the application this initialization is for * @return true if successful */ @Override public boolean initialize(AbstractApplicationFrame parent) { Properties props; try { props = Properties.read(FILENAME); PluginManager.addFromProperties(props); return true; } catch (Exception e) { System.err.println("Failed to read PluginManager extensions: " + FILENAME); e.printStackTrace(); return false; } }