WPSConfig.java 文件源码

java
阅读 17 收藏 0 点赞 0 评论 0

项目:uDig-WPS-plugin 作者:
private synchronized void readObject(java.io.ObjectInputStream oos) throws IOException, ClassNotFoundException
{       
    try
    {
        String wpsConfigXMLBeansAsXml = (String) oos.readObject();
        XmlObject configXmlObject = XmlObject.Factory.parse(wpsConfigXMLBeansAsXml);
        WPSConfigurationDocument configurationDocument = WPSConfigurationDocument.Factory.newInstance();
        configurationDocument.addNewWPSConfiguration().set(configXmlObject);
        wpsConfig = new WPSConfig(new StringBufferInputStream(configurationDocument.xmlText()));
    }
    catch (XmlException e)
    {
        LOGGER.error(e.getMessage());
        throw new IOException(e.getMessage());
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号