1 /* |
1 /* |
2 * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
225 public void setSpecificDocletOptions(String[][] options) { |
225 public void setSpecificDocletOptions(String[][] options) { |
226 for (int oi = 0; oi < options.length; ++oi) { |
226 for (int oi = 0; oi < options.length; ++oi) { |
227 String[] os = options[oi]; |
227 String[] os = options[oi]; |
228 String opt = os[0].toLowerCase(); |
228 String opt = os[0].toLowerCase(); |
229 if (opt.equals("-footer")) { |
229 if (opt.equals("-footer")) { |
230 footer = os[1]; |
230 footer = os[1]; |
231 } else if (opt.equals("-header")) { |
231 } else if (opt.equals("-header")) { |
232 header = os[1]; |
232 header = os[1]; |
233 } else if (opt.equals("-packagesheader")) { |
233 } else if (opt.equals("-packagesheader")) { |
234 packagesheader = os[1]; |
234 packagesheader = os[1]; |
235 } else if (opt.equals("-doctitle")) { |
235 } else if (opt.equals("-doctitle")) { |
236 doctitle = os[1]; |
236 doctitle = os[1]; |
237 } else if (opt.equals("-windowtitle")) { |
237 } else if (opt.equals("-windowtitle")) { |
238 windowtitle = os[1]; |
238 windowtitle = os[1]; |
239 } else if (opt.equals("-top")) { |
239 } else if (opt.equals("-top")) { |
240 top = os[1]; |
240 top = os[1]; |
241 } else if (opt.equals("-bottom")) { |
241 } else if (opt.equals("-bottom")) { |
242 bottom = os[1]; |
242 bottom = os[1]; |
243 } else if (opt.equals("-helpfile")) { |
243 } else if (opt.equals("-helpfile")) { |
244 helpfile = os[1]; |
244 helpfile = os[1]; |
245 } else if (opt.equals("-stylesheetfile")) { |
245 } else if (opt.equals("-stylesheetfile")) { |
246 stylesheetfile = os[1]; |
246 stylesheetfile = os[1]; |
247 } else if (opt.equals("-charset")) { |
247 } else if (opt.equals("-charset")) { |
248 charset = os[1]; |
248 charset = os[1]; |
249 } else if (opt.equals("-xdocrootparent")) { |
249 } else if (opt.equals("-xdocrootparent")) { |
250 docrootparent = os[1]; |
250 docrootparent = os[1]; |
251 } else if (opt.equals("-nohelp")) { |
251 } else if (opt.equals("-nohelp")) { |
252 nohelp = true; |
252 nohelp = true; |
253 } else if (opt.equals("-splitindex")) { |
253 } else if (opt.equals("-splitindex")) { |
254 splitindex = true; |
254 splitindex = true; |
255 } else if (opt.equals("-noindex")) { |
255 } else if (opt.equals("-noindex")) { |
256 createindex = false; |
256 createindex = false; |
257 } else if (opt.equals("-use")) { |
257 } else if (opt.equals("-use")) { |
258 classuse = true; |
258 classuse = true; |
259 } else if (opt.equals("-notree")) { |
259 } else if (opt.equals("-notree")) { |
260 createtree = false; |
260 createtree = false; |
261 } else if (opt.equals("-nodeprecatedlist")) { |
261 } else if (opt.equals("-nodeprecatedlist")) { |
262 nodeprecatedlist = true; |
262 nodeprecatedlist = true; |
263 } else if (opt.equals("-nosince")) { |
263 } else if (opt.equals("-nonavbar")) { |
264 nosince = true; |
|
265 } else if (opt.equals("-nonavbar")) { |
|
266 nonavbar = true; |
264 nonavbar = true; |
267 } else if (opt.equals("-nooverview")) { |
265 } else if (opt.equals("-nooverview")) { |
268 nooverview = true; |
266 nooverview = true; |
269 } else if (opt.equals("-overview")) { |
267 } else if (opt.equals("-overview")) { |
270 overview = true; |
268 overview = true; |
271 } |
269 } |
272 } |
270 } |
273 if (root.specifiedClasses().length > 0) { |
271 if (root.specifiedClasses().length > 0) { |
274 Map<String,PackageDoc> map = new HashMap<String,PackageDoc>(); |
272 Map<String,PackageDoc> map = new HashMap<String,PackageDoc>(); |