For example, given:
javadoc -foo this that -bar other ...
options()[0][0] = "-foo" options()[0][1] = "this" options()[0][2] = "that" options()[1][0] = "-bar" options()[1][1] = "other"
110111112113114115116117118119120
RootDoc rootDoc = (RootDoc) rootDocInstance; FileWriter temp = new FileWriter("c:/temp/classname.txt"); temp.write("rootDoc is " + rootDoc.getClass().getName()); temp.write("\n options:"); for (String[] options : rootDoc.options()) { temp.write("\n"); for (String option : options) { temp.write(option);