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());
}
}
WPSConfig.java 文件源码
java
阅读 17
收藏 0
点赞 0
评论 0
项目:uDig-WPS-plugin
作者:
评论列表
文章目录