private boolean validateConvertCommand() { boolean ok = false; final String format = this.arguments.getOutputFormat(); if (format != null && !new ExporterFactoryLoader(null).isFormatSupported(format)) { this.error = "export format '" + format + "' is not supported."; } else { ok = true; } return ok; }
private boolean validateConvertCommand() { boolean ok = false; final String format = this.arguments.getOutputFormat(); if (format != null && !new ExporterFactoryLoader(null).isFormatSupported(format)) { this.error = "export format '" + format + "' is not supported."; } else { ok = true; } return ok; }