23 * have any questions. |
23 * have any questions. |
24 */ |
24 */ |
25 |
25 |
26 package com.sun.tools.doclets.formats.html.markup; |
26 package com.sun.tools.doclets.formats.html.markup; |
27 |
27 |
|
28 import java.io.*; |
|
29 |
28 import com.sun.tools.doclets.internal.toolkit.*; |
30 import com.sun.tools.doclets.internal.toolkit.*; |
29 import com.sun.tools.doclets.internal.toolkit.util.*; |
31 import com.sun.tools.doclets.internal.toolkit.util.*; |
30 import java.io.*; |
|
31 |
32 |
32 /** |
33 /** |
33 * Class for the Html format code generation. |
34 * Class for the Html format code generation. |
34 * Initilizes PrintWriter with FileWriter, to enable print |
35 * Initilizes PrintWriter with FileWriter, to enable print |
35 * related methods to generate the code to the named File through FileWriter. |
36 * related methods to generate the code to the named File through FileWriter. |
59 * The configuration |
60 * The configuration |
60 */ |
61 */ |
61 protected Configuration configuration; |
62 protected Configuration configuration; |
62 |
63 |
63 /** |
64 /** |
|
65 * The flag to indicate whether a member details list is printed or not. |
|
66 */ |
|
67 protected boolean memberDetailsListPrinted; |
|
68 |
|
69 /** |
64 * Constructor. |
70 * Constructor. |
65 * |
71 * |
66 * @param path The directory path to be created for this file |
72 * @param path The directory path to be created for this file |
67 * or null if none to be created. |
73 * or null if none to be created. |
68 * @param filename File Name to which the PrintWriter will |
74 * @param filename File Name to which the PrintWriter will |
77 String path, String filename, String docencoding) |
83 String path, String filename, String docencoding) |
78 throws IOException, UnsupportedEncodingException { |
84 throws IOException, UnsupportedEncodingException { |
79 super(Util.genWriter(configuration, path, filename, docencoding)); |
85 super(Util.genWriter(configuration, path, filename, docencoding)); |
80 this.configuration = configuration; |
86 this.configuration = configuration; |
81 htmlFilename = filename; |
87 htmlFilename = filename; |
|
88 this.memberDetailsListPrinted = false; |
82 } |
89 } |
83 |
90 |
84 /** |
91 /** |
85 * Print <HTML> tag. Add a newline character at the end. |
92 * Print <HTML> tag. Add a newline character at the end. |
86 */ |
93 */ |