/** * Parses the given commandline parameters and generates the Javadoc. * * @param args the commandline parameters for the object */ public static void main(String[] args) { runJavadoc(new TechnicalInformationHandlerJavadoc(), args); } }
if (!canInstantiateClass()) { return result; getInstance().getClass())) { throw new Exception("Class '" + getClassname() + "' is not a TechnicalInformationHandler!"); handler = (TechnicalInformationHandler) getInstance(); result = toHTML(handler.getTechnicalInformation().toString()) + "\n"; break; if (getProlog()) { result = "BibTeX:\n"; result += toHTML(handler.getTechnicalInformation().toBibTex()) .replaceAll("<br>", "") + "\n"; result += "</pre>\n<br><br>\n"; if (getUseStars()) { result = indent(result, 1, "* ");
/** * Parses a given list of options. * * @param options the list of options as an array of strings * @throws Exception if an option is not supported */ @Override public void setOptions(String[] options) throws Exception { super.setOptions(options); setProlog(!Utils.getFlag("noprolog", options)); }
/** * 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 (!canInstantiateClass()) { return result; getInstance().getClass())) { throw new Exception("Class '" + getClassname() + "' is not a TechnicalInformationHandler!"); handler = (TechnicalInformationHandler) getInstance(); result = toHTML(handler.getTechnicalInformation().toString()) + "\n"; break; if (getProlog()) { result = "BibTeX:\n"; result += toHTML(handler.getTechnicalInformation().toBibTex()) .replaceAll("<br>", "") + "\n"; result += "</pre>\n<br><br>\n"; if (getUseStars()) { result = indent(result, 1, "* ");
/** * Parses a given list of options. * * @param options the list of options as an array of strings * @throws Exception if an option is not supported */ @Override public void setOptions(String[] options) throws Exception { super.setOptions(options); setProlog(!Utils.getFlag("noprolog", options)); }
/** * 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()]); }
/** * Parses the given commandline parameters and generates the Javadoc. * * @param args the commandline parameters for the object */ public static void main(String[] args) { runJavadoc(new TechnicalInformationHandlerJavadoc(), args); } }