/** * Gets the current settings of this object. * * @return an array of strings suitable for passing to setOptions */ @Override public String[] getOptions() { Vector<String> result; String[] options; int i; result = new Vector<String>(); options = super.getOptions(); for (i = 0; i < options.length; i++) { result.add(options[i]); } if (!getProlog()) { result.add("-noprolog"); } return result.toArray(new String[result.size()]); }
/** * Gets the current settings of this object. * * @return an array of strings suitable for passing to setOptions */ @Override public String[] getOptions() { Vector<String> result; String[] options; int i; result = new Vector<String>(); options = super.getOptions(); for (i = 0; i < options.length; i++) { result.add(options[i]); } if (!getProlog()) { result.add("-noprolog"); } return result.toArray(new String[result.size()]); }
if (getProlog()) { result = "BibTeX:\n";
if (getProlog()) { result = "BibTeX:\n";