src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/DocPaths.java
equal
deleted
inserted
replaced
60 public static final DocPath DEPRECATED_LIST = DocPath.create("deprecated-list.html"); |
60 public static final DocPath DEPRECATED_LIST = DocPath.create("deprecated-list.html"); |
61 |
61 |
62 /** The name of the subdirectory for user-provided additional documentation files. */ |
62 /** The name of the subdirectory for user-provided additional documentation files. */ |
63 public static final DocPath DOC_FILES = DocPath.create("doc-files"); |
63 public static final DocPath DOC_FILES = DocPath.create("doc-files"); |
64 |
64 |
|
65 /** The name of the file for the element list. */ |
|
66 public static final DocPath ELEMENT_LIST = DocPath.create("element-list"); |
|
67 |
65 /** The name of the image file showing a magnifying glass on the search box. */ |
68 /** The name of the image file showing a magnifying glass on the search box. */ |
66 public static final DocPath GLASS_IMG = DocPath.create("glass.png"); |
69 public static final DocPath GLASS_IMG = DocPath.create("glass.png"); |
67 |
70 |
68 /** The name of the file for help info. */ |
71 /** The name of the file for help info. */ |
69 public static final DocPath HELP_DOC = DocPath.create("help-doc.html"); |
72 public static final DocPath HELP_DOC = DocPath.create("help-doc.html"); |
147 public static final DocPath OVERVIEW_TREE = DocPath.create("overview-tree.html"); |
150 public static final DocPath OVERVIEW_TREE = DocPath.create("overview-tree.html"); |
148 |
151 |
149 /** The name of the file for the package frame. */ |
152 /** The name of the file for the package frame. */ |
150 public static final DocPath PACKAGE_FRAME = DocPath.create("package-frame.html"); |
153 public static final DocPath PACKAGE_FRAME = DocPath.create("package-frame.html"); |
151 |
154 |
152 /** The name of the file for the package list. */ |
155 /** The name of the file for the package list. This is to support the legacy mode. */ |
153 public static final DocPath PACKAGE_LIST = DocPath.create("package-list"); |
156 public static final DocPath PACKAGE_LIST = DocPath.create("package-list"); |
154 |
157 |
155 /** The name of the package search index file. */ |
158 /** The name of the package search index file. */ |
156 public static final DocPath PACKAGE_SEARCH_INDEX_JSON = DocPath.create("package-search-index.json"); |
159 public static final DocPath PACKAGE_SEARCH_INDEX_JSON = DocPath.create("package-search-index.json"); |
157 |
160 |
180 return DocPath.create(mdle.getQualifiedName() + "-frame.html"); |
183 return DocPath.create(mdle.getQualifiedName() + "-frame.html"); |
181 } |
184 } |
182 |
185 |
183 /** The name of the file for the module summary. */ |
186 /** The name of the file for the module summary. */ |
184 public static DocPath moduleSummary(ModuleElement mdle) { |
187 public static DocPath moduleSummary(ModuleElement mdle) { |
185 return DocPath.create(mdle.getQualifiedName() + "-summary.html"); |
188 return DocPaths.moduleSummary(mdle.getQualifiedName().toString()); |
|
189 } |
|
190 |
|
191 /** The name of the file for the module summary. */ |
|
192 public static DocPath moduleSummary(String mdleName) { |
|
193 return DocPath.create(mdleName + "-summary.html"); |
186 } |
194 } |
187 |
195 |
188 /** The name of the file for the module frame. */ |
196 /** The name of the file for the module frame. */ |
189 public static DocPath moduleTypeFrame(ModuleElement mdle) { |
197 public static DocPath moduleTypeFrame(ModuleElement mdle) { |
190 return DocPath.create(mdle.getQualifiedName() + "-type-frame.html"); |
198 return DocPath.create(mdle.getQualifiedName() + "-type-frame.html"); |