Class TomcatContextXmlIo

  • All Implemented Interfaces:
    DescriptorIo

    public class TomcatContextXmlIo
    extends AbstractDescriptorIo
    Provides convenience methods for reading Tomcat web deployment descriptor.
    • Constructor Detail

      • TomcatContextXmlIo

        protected TomcatContextXmlIo()
        Constructor.
    • Method Detail

      • parseTomcatConfigXml

        public static TomcatContextXml parseTomcatConfigXml​(InputStream input)
                                                     throws IOException,
                                                            org.jdom.JDOMException
        Parses a deployment descriptor provided as input stream.
        Parameters:
        input - The input stream
        Returns:
        The parsed descriptor
        Throws:
        IOException - If an I/O error occurs
        org.jdom.JDOMException - If the input could not be parsed