/** * returns the options of the current setup * * @return the current options */ @Override public String[] getOptions() { Vector<String> result = new Vector<String>(); if (getCompressOutput()) { result.add("-compress"); } result.add("-decimal"); result.add("" + getMaxDecimalPlaces()); Collections.addAll(result, super.getOptions()); return result.toArray(new String[result.size()]); }
/** * returns the options of the current setup * * @return the current options */ @Override public String[] getOptions() { Vector<String> result = new Vector<String>(); if (getCompressOutput()) { result.add("-compress"); } result.add("-decimal"); result.add("" + getMaxDecimalPlaces()); Collections.addAll(result, super.getOptions()); return result.toArray(new String[result.size()]); }