/** * Main method for testing this class */ public static void main(String [] args) { try { File testF = new File(new File(System.getProperty("user.dir")), "testOut.zip"); OutputZipper oz = new OutputZipper(testF); /* OutputZipper oz = new OutputZipper( new File(System.getProperty("user.dir"))); */ oz.zipit("Here is some test text to be zipped","testzip"); oz.zipit("Here is a second entry to be zipped","testzip2"); oz.finished(); } catch (Exception ex) { ex.printStackTrace(); System.err.println(ex.getMessage()); } } }
m_ZipDest = new OutputZipper(m_OutputFile); resultName = Utils.removeSubstring(resultName, "weka.attributeSelection."); m_ZipDest.zipit(m_SplitEvaluator.getRawResultOutput(), resultName);
/** * Perform any postprocessing. When this method is called, it indicates that * no more requests to generate results for the current experiment will be * sent. * * @throws Exception if an error occurs */ @Override public void postProcess() throws Exception { m_ResultListener.postProcess(this); if (m_debugOutput) { if (m_ZipDest != null) { m_ZipDest.finished(); m_ZipDest = null; } } }
m_ZipDest = new OutputZipper(m_OutputFile); resultName = Utils.removeSubstring(resultName, "weka.attributeSelection."); m_ZipDest.zipit(m_SplitEvaluator.getRawResultOutput(), resultName);
/** * Perform any postprocessing. When this method is called, it indicates that * no more requests to generate results for the current experiment will be * sent. * * @throws Exception if an error occurs */ @Override public void postProcess() throws Exception { m_ResultListener.postProcess(this); if (m_debugOutput) { if (m_ZipDest != null) { m_ZipDest.finished(); m_ZipDest = null; } } }
m_ZipDest = new OutputZipper(m_OutputFile); resultName = Utils.removeSubstring(resultName, "weka.attributeSelection."); m_ZipDest.zipit(m_SplitEvaluator.getRawResultOutput(), resultName);
/** * Main method for testing this class */ public static void main(String [] args) { try { File testF = new File(new File(System.getProperty("user.dir")), "testOut.zip"); OutputZipper oz = new OutputZipper(testF); /* OutputZipper oz = new OutputZipper( new File(System.getProperty("user.dir"))); */ oz.zipit("Here is some test text to be zipped","testzip"); oz.zipit("Here is a second entry to be zipped","testzip2"); oz.finished(); } catch (Exception ex) { ex.printStackTrace(); System.err.println(ex.getMessage()); } } }
/** * Perform any postprocessing. When this method is called, it indicates that * no more requests to generate results for the current experiment will be * sent. * * @throws Exception if an error occurs */ @Override public void postProcess() throws Exception { m_ResultListener.postProcess(this); if (m_debugOutput) { if (m_ZipDest != null) { m_ZipDest.finished(); m_ZipDest = null; } } }
m_ZipDest = new OutputZipper(m_OutputFile); resultName = Utils.removeSubstring(resultName, "weka.attributeSelection."); m_ZipDest.zipit(m_SplitEvaluator.getRawResultOutput(), resultName);
/** * Perform any postprocessing. When this method is called, it indicates that * no more requests to generate results for the current experiment will be * sent. * * @throws Exception if an error occurs */ @Override public void postProcess() throws Exception { m_ResultListener.postProcess(this); if (m_debugOutput) { if (m_ZipDest != null) { m_ZipDest.finished(); m_ZipDest = null; } } }
if (getRawOutput()) { if (m_ZipDest == null) { m_ZipDest = new OutputZipper(m_OutputFile); resultName = Utils.removeSubstring(resultName, "weka.attributeSelection."); m_ZipDest.zipit(m_SplitEvaluator.getRawResultOutput(), resultName);
/** * Perform any postprocessing. When this method is called, it indicates that * no more requests to generate results for the current experiment will be * sent. * * @throws Exception if an error occurs */ @Override public void postProcess() throws Exception { m_ResultListener.postProcess(this); if (m_debugOutput) { if (m_ZipDest != null) { m_ZipDest.finished(); m_ZipDest = null; } } }
if (getRawOutput()) { if (m_ZipDest == null) { m_ZipDest = new OutputZipper(m_OutputFile); resultName = Utils.removeSubstring(resultName, "weka.attributeSelection."); m_ZipDest.zipit(m_SplitEvaluator.getRawResultOutput(), resultName);
/** * Perform any postprocessing. When this method is called, it indicates that * no more requests to generate results for the current experiment will be * sent. * * @throws Exception if an error occurs */ @Override public void postProcess() throws Exception { m_ResultListener.postProcess(this); if (m_debugOutput) { if (m_ZipDest != null) { m_ZipDest.finished(); m_ZipDest = null; } } }
m_ZipDest = new OutputZipper(m_OutputFile); resultName = Utils.removeSubstring(resultName, "weka.attributeSelection."); m_ZipDest.zipit(m_SplitEvaluator.getRawResultOutput(), resultName);
m_ZipDest = new OutputZipper(m_OutputFile); resultName = Utils.removeSubstring(resultName, "weka.attributeSelection."); m_ZipDest.zipit(m_SplitEvaluator.getRawResultOutput(), resultName);