8261609: remove remnants of XML-driven builders

Reviewed-by: hannesw
This commit is contained in:
Jonathan Gibbons 2021-02-15 20:27:06 +00:00
parent 6badd22e66
commit 34ae7aeb64

View File

@ -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.
*