/** * Accessor to set the suppress warnings flag. Due to the change * in logging in version 2.4, this will now set the warning * behaviour across the JVM (depending on the type of logger used) * * @param w the flag */ public void setSuppressWarnings(boolean w) { logger.setSuppressWarnings(w); }
/** * Accessor to set the suppress warnings flag. Due to the change * in logging in version 2.4, this will now set the warning * behaviour across the JVM (depending on the type of logger used) * * @param w the flag */ public void setSuppressWarnings(boolean w) { logger.setSuppressWarnings(w); }
/** * Constructor * * @param output * @param input */ public ReadWrite(String input, String output) { inputWorkbook = new File(input); outputWorkbook = new File(output); logger.setSuppressWarnings(Boolean.getBoolean("jxl.nowarnings")); logger.info("Input file: " + input); logger.info("Output file: " + output); }
/** * Constructor * * @param output * @param input */ public ReadWrite(String input, String output) { inputWorkbook = new File(input); outputWorkbook = new File(output); logger.setSuppressWarnings(Boolean.getBoolean("jxl.nowarnings")); logger.info("Input file: " + input); logger.info("Output file: " + output); }