Class C3P0ConfigXmlUtils


  • public final class C3P0ConfigXmlUtils
    extends java.lang.Object
    • Field Detail

      • XML_CONFIG_RSRC_PATH

        public static final java.lang.String XML_CONFIG_RSRC_PATH
        See Also:
        Constant Field Values
      • LINESEP

        public static final java.lang.String LINESEP
    • Method Detail

      • extractXmlConfigFromDefaultResource

        public static C3P0Config extractXmlConfigFromDefaultResource​(boolean usePermissiveParser)
                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • extractXmlConfigFromInputStream

        public static C3P0Config extractXmlConfigFromInputStream​(java.io.InputStream is,
                                                                 boolean usePermissiveParser)
                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • extractConfigFromXmlDoc

        public static C3P0Config extractConfigFromXmlDoc​(org.w3c.dom.Document doc)
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception