/** Initializes the root of FS.
*/
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException {
//ois.defaultReadObject ();
ObjectInputStream.GetField fields = ois.readFields();
URL[] urls = (URL[]) fields.get("urlsToXml", null); // NOI18N
if (urls == null) {
urls = new URL[1];
urls[0] = (URL) fields.get("uriId", null); // NOI18N
if (urls[0] == null) {
throw new IOException("missing uriId"); // NOI18N
}
}
try {
setXmlUrls(urls);
} catch (PropertyVetoException ex) {
IOException x = new IOException(ex.getMessage());
ExternalUtil.copyAnnotation(x, ex);
throw x;
}
}
XMLFileSystem.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:incubator-netbeans
作者:
评论列表
文章目录