/** * generates the props-file for the GenericObjectEditor and stores it * * @throws Exception if something goes wrong * @see #execute(boolean) */ public void execute() throws Exception { execute(true, true); }
/** * generates the props-file for the GenericObjectEditor * * @param store true if the generated props should be stored * @throws Exception */ public void execute(boolean store) throws Exception { execute(store, true); }
/** * generates the props-file for the GenericObjectEditor and stores it * * @throws Exception if something goes wrong * @see #execute(boolean) */ public void execute() throws Exception { execute(true, true); }
/** * generates the props-file for the GenericObjectEditor * * @param store true if the generated props should be stored * @throws Exception */ public void execute(boolean store) throws Exception { execute(store, true); }
/** * Regenerate the global output properties. Does not load the input * properties, instead uses the GLOBAL_INPUT_PROPERTIES */ public static void regenerateGlobalOutputProperties() { if (GLOBAL_CREATOR != null) { try { GLOBAL_CREATOR.execute(false, false); GLOBAL_INPUT_PROPERTIES = GLOBAL_CREATOR.getInputProperties(); GLOBAL_OUTPUT_PROPERTIES = GLOBAL_CREATOR.getOutputProperties(); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } }
/** * Regenerate the global output properties. Does not load the input * properties, instead uses the GLOBAL_INPUT_PROPERTIES */ public static void regenerateGlobalOutputProperties() { if (GLOBAL_CREATOR != null) { try { GLOBAL_CREATOR.execute(false, false); GLOBAL_INPUT_PROPERTIES = GLOBAL_CREATOR.getInputProperties(); GLOBAL_OUTPUT_PROPERTIES = GLOBAL_CREATOR.getOutputProperties(); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } }
creator.execute(false);
creator.execute(false);
creator.execute(false); EDITOR_PROPERTIES = creator.getOutputProperties(); } catch (Exception e) {
GenericPropertiesCreator creator = new GenericPropertiesCreator(); creator.execute(false); props = creator.getOutputProperties();
creator.execute(false); EDITOR_PROPERTIES = creator.getOutputProperties(); } catch (Exception e) {
GenericPropertiesCreator creator = new GenericPropertiesCreator(); creator.execute(false); props = creator.getOutputProperties();
c.execute(true);
gpc.execute(false);
/** * Initializes generic object editor properties * * @return a properties object * @throws Exception if a problem occurs */ protected Properties initGOEProps() throws Exception { Properties GOEProps = GenericPropertiesCreator.getGlobalOutputProperties(); if (GOEProps == null) { GenericPropertiesCreator creator = new GenericPropertiesCreator(); if (creator.useDynamic()) { creator.execute(false); GOEProps = creator.getOutputProperties(); } else { GOEProps = Utils.readProperties("weka/gui/GenericObjectEditor.props"); } } return GOEProps; }
/** * Initializes generic object editor properties * * @return a properties object * @throws Exception if a problem occurs */ protected Properties initGOEProps() throws Exception { Properties GOEProps = GenericPropertiesCreator.getGlobalOutputProperties(); if (GOEProps == null) { GenericPropertiesCreator creator = new GenericPropertiesCreator(); if (creator.useDynamic()) { creator.execute(false); GOEProps = creator.getOutputProperties(); } else { GOEProps = Utils.readProperties("weka/gui/GenericObjectEditor.props"); } } return GOEProps; }
creator.execute(false); Properties props = creator.getOutputProperties();
creator.execute(false); Properties props = creator.getOutputProperties();