mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-23 16:55:09 +00:00
8261609: remove remnants of XML-driven builders
Reviewed-by: hannesw
This commit is contained in:
parent
6badd22e66
commit
34ae7aeb64
@ -106,16 +106,6 @@ public abstract class BaseConfiguration {
|
||||
*/
|
||||
public TagletManager tagletManager;
|
||||
|
||||
/**
|
||||
* The path to the builder XML input file.
|
||||
*/
|
||||
public String builderXMLPath;
|
||||
|
||||
/**
|
||||
* The default path to the builder XML.
|
||||
*/
|
||||
public static final String DEFAULT_BUILDER_XML = "resources/doclet.xml";
|
||||
|
||||
/**
|
||||
* The meta tag keywords instance.
|
||||
*/
|
||||
@ -606,18 +596,6 @@ public abstract class BaseConfiguration {
|
||||
*/
|
||||
public abstract WriterFactory getWriterFactory();
|
||||
|
||||
/**
|
||||
* Return the input stream to the builder XML.
|
||||
*
|
||||
* @return the input steam to the builder XML.
|
||||
* @throws DocFileIOException when the given XML file cannot be found or opened.
|
||||
*/
|
||||
public InputStream getBuilderXML() throws DocFileIOException {
|
||||
return builderXMLPath == null ?
|
||||
BaseConfiguration.class.getResourceAsStream(DEFAULT_BUILDER_XML) :
|
||||
DocFile.createFileForInput(this, builderXMLPath).openInputStream();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the Locale for this document.
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user