src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlWriter.java

Fri, 07 Jun 2013 16:12:04 -0700

author
bpatel
date
Fri, 07 Jun 2013 16:12:04 -0700
changeset 1835
536cad596942
parent 1833
f1b90ea7d402
child 1993
240f424cc0d5
child 2119
84df20dc604a
permissions
-rw-r--r--

8015997: Additional improvement in Javadoc framing
Reviewed-by: jjg

duke@1 1 /*
bpatel@1568 2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
duke@1 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@1 4 *
duke@1 5 * This code is free software; you can redistribute it and/or modify it
duke@1 6 * under the terms of the GNU General Public License version 2 only, as
ohair@554 7 * published by the Free Software Foundation. Oracle designates this
duke@1 8 * particular file as subject to the "Classpath" exception as provided
ohair@554 9 * by Oracle in the LICENSE file that accompanied this code.
duke@1 10 *
duke@1 11 * This code is distributed in the hope that it will be useful, but WITHOUT
duke@1 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@1 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@1 14 * version 2 for more details (a copy is included in the LICENSE file that
duke@1 15 * accompanied this code).
duke@1 16 *
duke@1 17 * You should have received a copy of the GNU General Public License version
duke@1 18 * 2 along with this work; if not, write to the Free Software Foundation,
duke@1 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@1 20 *
ohair@554 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@554 22 * or visit www.oracle.com if you need additional information or have any
ohair@554 23 * questions.
duke@1 24 */
duke@1 25
duke@1 26 package com.sun.tools.doclets.formats.html.markup;
duke@1 27
bpatel@233 28 import java.io.*;
bpatel@1417 29 import java.util.*;
jjg@1740 30 import java.util.regex.Matcher;
jjg@1740 31 import java.util.regex.Pattern;
bpatel@233 32
duke@1 33 import com.sun.tools.doclets.internal.toolkit.*;
duke@1 34 import com.sun.tools.doclets.internal.toolkit.util.*;
duke@1 35
duke@1 36 /**
duke@1 37 * Class for the Html format code generation.
jjg@1365 38 * Initializes PrintWriter with FileWriter, to enable print
duke@1 39 * related methods to generate the code to the named File through FileWriter.
duke@1 40 *
jjg@1359 41 * <p><b>This is NOT part of any supported API.
jjg@1359 42 * If you write code that depends on this, you do so at your own risk.
jjg@1359 43 * This code and its internal interfaces are subject to change or
jjg@1359 44 * deletion without notice.</b>
jjg@1359 45 *
duke@1 46 * @since 1.2
duke@1 47 * @author Atul M Dambalkar
bpatel@243 48 * @author Bhavesh Patel (Modified)
duke@1 49 */
jjg@1365 50 public class HtmlWriter {
duke@1 51
duke@1 52 /**
duke@1 53 * The window title of this file
duke@1 54 */
duke@1 55 protected String winTitle;
duke@1 56
duke@1 57 /**
duke@1 58 * The configuration
duke@1 59 */
duke@1 60 protected Configuration configuration;
duke@1 61
duke@1 62 /**
bpatel@233 63 * The flag to indicate whether a member details list is printed or not.
bpatel@233 64 */
bpatel@233 65 protected boolean memberDetailsListPrinted;
bpatel@233 66
bpatel@233 67 /**
bpatel@1568 68 * Header for table displaying profiles and description..
bpatel@1568 69 */
bpatel@1568 70 protected final String[] profileTableHeader;
bpatel@1568 71
bpatel@1568 72 /**
bpatel@243 73 * Header for tables displaying packages and description..
bpatel@243 74 */
bpatel@243 75 protected final String[] packageTableHeader;
bpatel@243 76
bpatel@243 77 /**
bpatel@243 78 * Summary for use tables displaying class and package use.
bpatel@243 79 */
bpatel@243 80 protected final String useTableSummary;
bpatel@243 81
bpatel@243 82 /**
bpatel@243 83 * Column header for class docs displaying Modifier and Type header.
bpatel@243 84 */
bpatel@243 85 protected final String modifierTypeHeader;
bpatel@243 86
bpatel@766 87 public final Content overviewLabel;
bpatel@766 88
bpatel@766 89 public final Content defaultPackageLabel;
bpatel@766 90
bpatel@766 91 public final Content packageLabel;
bpatel@766 92
bpatel@1568 93 public final Content profileLabel;
bpatel@1568 94
bpatel@766 95 public final Content useLabel;
bpatel@766 96
bpatel@766 97 public final Content prevLabel;
bpatel@766 98
bpatel@766 99 public final Content nextLabel;
bpatel@766 100
bpatel@766 101 public final Content prevclassLabel;
bpatel@766 102
bpatel@766 103 public final Content nextclassLabel;
bpatel@766 104
bpatel@766 105 public final Content summaryLabel;
bpatel@766 106
bpatel@766 107 public final Content detailLabel;
bpatel@766 108
bpatel@766 109 public final Content framesLabel;
bpatel@766 110
bpatel@766 111 public final Content noframesLabel;
bpatel@766 112
bpatel@766 113 public final Content treeLabel;
bpatel@766 114
bpatel@766 115 public final Content classLabel;
bpatel@766 116
bpatel@766 117 public final Content deprecatedLabel;
bpatel@766 118
bpatel@766 119 public final Content deprecatedPhrase;
bpatel@766 120
bpatel@766 121 public final Content allclassesLabel;
bpatel@766 122
bpatel@1568 123 public final Content allpackagesLabel;
bpatel@1568 124
bpatel@1568 125 public final Content allprofilesLabel;
bpatel@1568 126
bpatel@766 127 public final Content indexLabel;
bpatel@766 128
bpatel@766 129 public final Content helpLabel;
bpatel@766 130
bpatel@766 131 public final Content seeLabel;
bpatel@766 132
bpatel@766 133 public final Content descriptionLabel;
bpatel@766 134
bpatel@766 135 public final Content prevpackageLabel;
bpatel@766 136
bpatel@766 137 public final Content nextpackageLabel;
bpatel@766 138
bpatel@1568 139 public final Content prevprofileLabel;
bpatel@1568 140
bpatel@1568 141 public final Content nextprofileLabel;
bpatel@1568 142
bpatel@766 143 public final Content packagesLabel;
bpatel@766 144
bpatel@1568 145 public final Content profilesLabel;
bpatel@1568 146
bpatel@766 147 public final Content methodDetailsLabel;
bpatel@766 148
bpatel@766 149 public final Content annotationTypeDetailsLabel;
bpatel@766 150
bpatel@766 151 public final Content fieldDetailsLabel;
bpatel@766 152
jjg@1606 153 public final Content propertyDetailsLabel;
jjg@1606 154
bpatel@766 155 public final Content constructorDetailsLabel;
bpatel@766 156
bpatel@766 157 public final Content enumConstantsDetailsLabel;
bpatel@766 158
bpatel@766 159 public final Content specifiedByLabel;
bpatel@766 160
bpatel@766 161 public final Content overridesLabel;
bpatel@766 162
bpatel@766 163 public final Content descfrmClassLabel;
bpatel@766 164
bpatel@766 165 public final Content descfrmInterfaceLabel;
bpatel@766 166
jjg@1365 167 private final Writer writer;
jjg@1365 168
bpatel@1417 169 private Content script;
bpatel@1417 170
bpatel@243 171 /**
duke@1 172 * Constructor.
duke@1 173 *
duke@1 174 * @param path The directory path to be created for this file
duke@1 175 * or null if none to be created.
duke@1 176 * @exception IOException Exception raised by the FileWriter is passed on
duke@1 177 * to next level.
jjg@1358 178 * @exception UnsupportedEncodingException Exception raised by the
duke@1 179 * OutputStreamWriter is passed on to next level.
duke@1 180 */
jjg@1381 181 public HtmlWriter(Configuration configuration, DocPath path)
jjg@1372 182 throws IOException, UnsupportedEncodingException {
jjg@1383 183 writer = DocFile.createFileForOutput(configuration, path).openWriter();
duke@1 184 this.configuration = configuration;
bpatel@233 185 this.memberDetailsListPrinted = false;
bpatel@1568 186 profileTableHeader = new String[] {
bpatel@1568 187 configuration.getText("doclet.Profile"),
bpatel@1568 188 configuration.getText("doclet.Description")
bpatel@1568 189 };
bpatel@243 190 packageTableHeader = new String[] {
bpatel@243 191 configuration.getText("doclet.Package"),
bpatel@243 192 configuration.getText("doclet.Description")
bpatel@243 193 };
bpatel@243 194 useTableSummary = configuration.getText("doclet.Use_Table_Summary",
bpatel@243 195 configuration.getText("doclet.packages"));
bpatel@243 196 modifierTypeHeader = configuration.getText("doclet.0_and_1",
bpatel@243 197 configuration.getText("doclet.Modifier"),
bpatel@243 198 configuration.getText("doclet.Type"));
bpatel@766 199 overviewLabel = getResource("doclet.Overview");
jjg@1746 200 defaultPackageLabel = new StringContent(DocletConstants.DEFAULT_PACKAGE_NAME);
bpatel@766 201 packageLabel = getResource("doclet.Package");
bpatel@1568 202 profileLabel = getResource("doclet.Profile");
bpatel@766 203 useLabel = getResource("doclet.navClassUse");
bpatel@766 204 prevLabel = getResource("doclet.Prev");
bpatel@766 205 nextLabel = getResource("doclet.Next");
bpatel@766 206 prevclassLabel = getResource("doclet.Prev_Class");
bpatel@766 207 nextclassLabel = getResource("doclet.Next_Class");
bpatel@766 208 summaryLabel = getResource("doclet.Summary");
bpatel@766 209 detailLabel = getResource("doclet.Detail");
bpatel@942 210 framesLabel = getResource("doclet.Frames");
bpatel@942 211 noframesLabel = getResource("doclet.No_Frames");
bpatel@766 212 treeLabel = getResource("doclet.Tree");
bpatel@766 213 classLabel = getResource("doclet.Class");
bpatel@766 214 deprecatedLabel = getResource("doclet.navDeprecated");
bpatel@766 215 deprecatedPhrase = getResource("doclet.Deprecated");
bpatel@766 216 allclassesLabel = getResource("doclet.All_Classes");
bpatel@1568 217 allpackagesLabel = getResource("doclet.All_Packages");
bpatel@1568 218 allprofilesLabel = getResource("doclet.All_Profiles");
bpatel@766 219 indexLabel = getResource("doclet.Index");
bpatel@766 220 helpLabel = getResource("doclet.Help");
bpatel@766 221 seeLabel = getResource("doclet.See");
bpatel@766 222 descriptionLabel = getResource("doclet.Description");
bpatel@766 223 prevpackageLabel = getResource("doclet.Prev_Package");
bpatel@766 224 nextpackageLabel = getResource("doclet.Next_Package");
bpatel@1568 225 prevprofileLabel = getResource("doclet.Prev_Profile");
bpatel@1568 226 nextprofileLabel = getResource("doclet.Next_Profile");
bpatel@766 227 packagesLabel = getResource("doclet.Packages");
bpatel@1568 228 profilesLabel = getResource("doclet.Profiles");
bpatel@766 229 methodDetailsLabel = getResource("doclet.Method_Detail");
bpatel@766 230 annotationTypeDetailsLabel = getResource("doclet.Annotation_Type_Member_Detail");
bpatel@766 231 fieldDetailsLabel = getResource("doclet.Field_Detail");
jjg@1606 232 propertyDetailsLabel = getResource("doclet.Property_Detail");
bpatel@766 233 constructorDetailsLabel = getResource("doclet.Constructor_Detail");
bpatel@766 234 enumConstantsDetailsLabel = getResource("doclet.Enum_Constant_Detail");
bpatel@766 235 specifiedByLabel = getResource("doclet.Specified_By");
bpatel@766 236 overridesLabel = getResource("doclet.Overrides");
bpatel@766 237 descfrmClassLabel = getResource("doclet.Description_From_Class");
bpatel@766 238 descfrmInterfaceLabel = getResource("doclet.Description_From_Interface");
bpatel@766 239 }
bpatel@766 240
jjg@1365 241 public void write(Content c) throws IOException {
jjg@1365 242 c.write(writer, true);
jjg@1365 243 }
jjg@1365 244
jjg@1365 245 public void close() throws IOException {
jjg@1365 246 writer.close();
jjg@1365 247 }
jjg@1365 248
bpatel@766 249 /**
bpatel@766 250 * Get the configuration string as a content.
bpatel@766 251 *
bpatel@766 252 * @param key the key to look for in the configuration file
bpatel@766 253 * @return a content tree for the text
bpatel@766 254 */
bpatel@766 255 public Content getResource(String key) {
jjg@1740 256 return configuration.getResource(key);
bpatel@766 257 }
bpatel@766 258
bpatel@766 259 /**
bpatel@766 260 * Get the configuration string as a content.
bpatel@766 261 *
bpatel@766 262 * @param key the key to look for in the configuration file
jjg@1740 263 * @param o string or content argument added to configuration text
bpatel@766 264 * @return a content tree for the text
bpatel@766 265 */
jjg@1740 266 public Content getResource(String key, Object o) {
jjg@1740 267 return configuration.getResource(key, o);
bpatel@766 268 }
bpatel@766 269
bpatel@766 270 /**
bpatel@766 271 * Get the configuration string as a content.
bpatel@766 272 *
bpatel@766 273 * @param key the key to look for in the configuration file
jjg@1740 274 * @param o1 string or content argument added to configuration text
jjg@1740 275 * @param o2 string or content argument added to configuration text
bpatel@766 276 * @return a content tree for the text
bpatel@766 277 */
jjg@1740 278 public Content getResource(String key, Object o0, Object o1) {
jjg@1740 279 return configuration.getResource(key, o0, o1);
duke@1 280 }
duke@1 281
duke@1 282 /**
bpatel@766 283 * Returns an HtmlTree for the SCRIPT tag.
bpatel@766 284 *
bpatel@766 285 * @return an HtmlTree for the SCRIPT tag
bpatel@766 286 */
bpatel@766 287 protected HtmlTree getWinTitleScript(){
bpatel@766 288 HtmlTree script = new HtmlTree(HtmlTag.SCRIPT);
bpatel@766 289 if(winTitle != null && winTitle.length() > 0) {
bpatel@766 290 script.addAttr(HtmlAttr.TYPE, "text/javascript");
bpatel@793 291 String scriptCode = "<!--" + DocletConstants.NL +
bpatel@793 292 " if (location.href.indexOf('is-external=true') == -1) {" + DocletConstants.NL +
bpatel@793 293 " parent.document.title=\"" + winTitle + "\";" + DocletConstants.NL +
bpatel@793 294 " }" + DocletConstants.NL +
bpatel@793 295 "//-->" + DocletConstants.NL;
bpatel@766 296 RawHtml scriptContent = new RawHtml(scriptCode);
bpatel@766 297 script.addContent(scriptContent);
bpatel@766 298 }
bpatel@766 299 return script;
bpatel@766 300 }
bpatel@766 301
bpatel@766 302 /**
bpatel@766 303 * Returns a content tree for the SCRIPT tag for the main page(index.html).
bpatel@766 304 *
bpatel@766 305 * @return a content for the SCRIPT tag
bpatel@766 306 */
jjg@1737 307 protected Content getFramesetJavaScript() {
bpatel@766 308 HtmlTree script = new HtmlTree(HtmlTag.SCRIPT);
bpatel@766 309 script.addAttr(HtmlAttr.TYPE, "text/javascript");
jjg@1737 310 String scriptCode = DocletConstants.NL +
jjg@1737 311 " targetPage = \"\" + window.location.search;" + DocletConstants.NL +
bpatel@793 312 " if (targetPage != \"\" && targetPage != \"undefined\")" + DocletConstants.NL +
bpatel@793 313 " targetPage = targetPage.substring(1);" + DocletConstants.NL +
bpatel@1829 314 " if (targetPage.indexOf(\":\") != -1 || (targetPage != \"\" && !validURL(targetPage)))" + DocletConstants.NL +
bpatel@793 315 " targetPage = \"undefined\";" + DocletConstants.NL +
bpatel@1829 316 " function validURL(url) {" + DocletConstants.NL +
bpatel@1835 317 " var pos = url.indexOf(\".html\");" + DocletConstants.NL +
bpatel@1835 318 " if (pos == -1 || pos != url.length - 5)" + DocletConstants.NL +
bpatel@1829 319 " return false;" + DocletConstants.NL +
bpatel@1829 320 " var allowNumber = false;" + DocletConstants.NL +
bpatel@1829 321 " var allowSep = false;" + DocletConstants.NL +
bpatel@1829 322 " var seenDot = false;" + DocletConstants.NL +
bpatel@1829 323 " for (var i = 0; i < url.length - 5; i++) {" + DocletConstants.NL +
bpatel@1829 324 " var ch = url.charAt(i);" + DocletConstants.NL +
bpatel@1829 325 " if ('a' <= ch && ch <= 'z' ||" + DocletConstants.NL +
bpatel@1829 326 " 'A' <= ch && ch <= 'Z' ||" + DocletConstants.NL +
bpatel@1829 327 " ch == '$' ||" + DocletConstants.NL +
bpatel@1829 328 " ch == '_') {" + DocletConstants.NL +
bpatel@1829 329 " allowNumber = true;" + DocletConstants.NL +
bpatel@1829 330 " allowSep = true;" + DocletConstants.NL +
bpatel@1829 331 " } else if ('0' <= ch && ch <= '9'" + DocletConstants.NL +
bpatel@1829 332 " || ch == '-') {" + DocletConstants.NL +
bpatel@1829 333 " if (!allowNumber)" + DocletConstants.NL +
bpatel@1829 334 " return false;" + DocletConstants.NL +
bpatel@1829 335 " } else if (ch == '/' || ch == '.') {" + DocletConstants.NL +
bpatel@1829 336 " if (!allowSep)" + DocletConstants.NL +
bpatel@1829 337 " return false;" + DocletConstants.NL +
bpatel@1829 338 " allowNumber = false;" + DocletConstants.NL +
bpatel@1829 339 " allowSep = false;" + DocletConstants.NL +
bpatel@1829 340 " if (ch == '.')" + DocletConstants.NL +
bpatel@1829 341 " seenDot = true;" + DocletConstants.NL +
bpatel@1829 342 " if (ch == '/' && seenDot)" + DocletConstants.NL +
bpatel@1829 343 " return false;" + DocletConstants.NL +
bpatel@1829 344 " } else {" + DocletConstants.NL +
bpatel@1829 345 " return false;"+ DocletConstants.NL +
bpatel@1829 346 " }" + DocletConstants.NL +
bpatel@1829 347 " }" + DocletConstants.NL +
bpatel@1829 348 " return true;" + DocletConstants.NL +
bpatel@1829 349 " }" + DocletConstants.NL +
bpatel@793 350 " function loadFrames() {" + DocletConstants.NL +
bpatel@793 351 " if (targetPage != \"\" && targetPage != \"undefined\")" + DocletConstants.NL +
bpatel@793 352 " top.classFrame.location = top.targetPage;" + DocletConstants.NL +
bpatel@793 353 " }" + DocletConstants.NL;
bpatel@766 354 RawHtml scriptContent = new RawHtml(scriptCode);
bpatel@766 355 script.addContent(scriptContent);
bpatel@766 356 return script;
bpatel@766 357 }
bpatel@766 358
bpatel@766 359 /**
bpatel@766 360 * Returns an HtmlTree for the BODY tag.
bpatel@766 361 *
bpatel@766 362 * @param includeScript set true if printing windowtitle script
bpatel@766 363 * @param title title for the window
bpatel@766 364 * @return an HtmlTree for the BODY tag
bpatel@766 365 */
bpatel@766 366 public HtmlTree getBody(boolean includeScript, String title) {
bpatel@766 367 HtmlTree body = new HtmlTree(HtmlTag.BODY);
bpatel@766 368 // Set window title string which is later printed
bpatel@766 369 this.winTitle = title;
bpatel@766 370 // Don't print windowtitle script for overview-frame, allclasses-frame
bpatel@766 371 // and package-frame
bpatel@766 372 if (includeScript) {
bpatel@1417 373 this.script = getWinTitleScript();
bpatel@1417 374 body.addContent(script);
bpatel@766 375 Content noScript = HtmlTree.NOSCRIPT(
bpatel@766 376 HtmlTree.DIV(getResource("doclet.No_Script_Message")));
bpatel@766 377 body.addContent(noScript);
bpatel@766 378 }
bpatel@766 379 return body;
bpatel@766 380 }
bpatel@766 381
bpatel@766 382 /**
bpatel@1417 383 * Generated javascript variables for the document.
bpatel@1417 384 *
bpatel@1417 385 * @param typeMap map comprising of method and type relationship
bpatel@1417 386 * @param methodTypes set comprising of all methods types for this class
bpatel@1417 387 */
bpatel@1417 388 public void generateMethodTypesScript(Map<String,Integer> typeMap,
bpatel@1417 389 Set<MethodTypes> methodTypes) {
bpatel@1417 390 String sep = "";
bpatel@1417 391 StringBuilder vars = new StringBuilder("var methods = {");
bpatel@1417 392 for (Map.Entry<String,Integer> entry : typeMap.entrySet()) {
bpatel@1417 393 vars.append(sep);
bpatel@1417 394 sep = ",";
bpatel@1417 395 vars.append("\"");
bpatel@1417 396 vars.append(entry.getKey());
bpatel@1417 397 vars.append("\":");
bpatel@1417 398 vars.append(entry.getValue());
bpatel@1417 399 }
bpatel@1417 400 vars.append("};").append(DocletConstants.NL);
bpatel@1417 401 sep = "";
bpatel@1417 402 vars.append("var tabs = {");
bpatel@1417 403 for (MethodTypes entry : methodTypes) {
bpatel@1417 404 vars.append(sep);
bpatel@1417 405 sep = ",";
bpatel@1417 406 vars.append(entry.value()).append(":");
bpatel@1417 407 vars.append("[").append("\"").append(entry.tabId());
bpatel@1417 408 vars.append("\"").append(sep).append("\"").append(entry.text()).append("\"]");
bpatel@1417 409 }
bpatel@1417 410 vars.append("};").append(DocletConstants.NL);
bpatel@1417 411 addStyles(HtmlStyle.altColor, vars);
bpatel@1417 412 addStyles(HtmlStyle.rowColor, vars);
bpatel@1417 413 addStyles(HtmlStyle.tableTab, vars);
bpatel@1417 414 addStyles(HtmlStyle.activeTableTab, vars);
bpatel@1417 415 script.addContent(new RawHtml(vars.toString()));
bpatel@1417 416 }
bpatel@1417 417
bpatel@1417 418 /**
bpatel@1417 419 * Adds javascript style variables to the document.
bpatel@1417 420 *
bpatel@1417 421 * @param style style to be added as a javascript variable
bpatel@1417 422 * @param vars variable string to which the style variable will be added
bpatel@1417 423 */
bpatel@1417 424 public void addStyles(HtmlStyle style, StringBuilder vars) {
bpatel@1417 425 vars.append("var ").append(style).append(" = \"").append(style)
bpatel@1417 426 .append("\";").append(DocletConstants.NL);
bpatel@1417 427 }
bpatel@1417 428
bpatel@1417 429 /**
bpatel@766 430 * Returns an HtmlTree for the TITLE tag.
bpatel@766 431 *
bpatel@766 432 * @return an HtmlTree for the TITLE tag
bpatel@766 433 */
bpatel@766 434 public HtmlTree getTitle() {
bpatel@766 435 HtmlTree title = HtmlTree.TITLE(new StringContent(winTitle));
bpatel@766 436 return title;
bpatel@766 437 }
duke@1 438
duke@1 439 public String codeText(String text) {
bpatel@766 440 return "<code>" + text + "</code>";
duke@1 441 }
duke@1 442
duke@1 443 /**
bpatel@766 444 * Return "&#38;nbsp;", non-breaking space.
bpatel@766 445 */
bpatel@766 446 public Content getSpace() {
bpatel@766 447 return RawHtml.nbsp;
bpatel@766 448 }
bpatel@766 449
bpatel@243 450 /*
bpatel@243 451 * Returns a header for Modifier and Type column of a table.
bpatel@243 452 */
bpatel@243 453 public String getModifierTypeHeader() {
bpatel@243 454 return modifierTypeHeader;
bpatel@243 455 }
duke@1 456 }

mercurial