public static ProtocolStackConfigurator getStackConfigurator ( File file ) throws Exception { checkJAXPAvailability ( ) ; InputStream input = getConfigStream ( file ) ; return XmlConfigurator . getInstance ( input ) ; }
Returns a protocol stack configurator based on the XML configuration provided by the specified File .