本文整理了Java中org.apache.openjpa.lib.meta.ZipStreamMetaDataIterator
类的一些代码示例,展示了ZipStreamMetaDataIterator
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZipStreamMetaDataIterator
类的具体详情如下:
包路径:org.apache.openjpa.lib.meta.ZipStreamMetaDataIterator
类名称:ZipStreamMetaDataIterator
[英]Iterator over all metadata resources in a given zip input stream.
[中]迭代给定zip输入流中的所有元数据资源。
代码示例来源:origin: org.apache.openejb.patch/openjpa
public String next() throws IOException {
if (!hasNext())
throw new NoSuchElementException();
String ret = _entry.getName();
_last = _entry;
_entry = null;
return ret;
}
代码示例来源:origin: org.apache.openjpa/openjpa-kernel
scan(new ZipStreamMetaDataIterator(zis, newMetaDataFilter()), cparser, names, true, url);
AccessController.doPrivileged(
J2DoPrivHelper.openStreamAction(url));
scan(new ZipStreamMetaDataIterator(
new ZipInputStream(is),
newMetaDataFilter()), cparser, names, true, url);
scan(new ZipStreamMetaDataIterator(new ZipInputStream(is), newMetaDataFilter()),
cparser, names, true, url);
} else {
AccessController.doPrivileged(
J2DoPrivHelper.openStreamAction(url));
scan(new ZipStreamMetaDataIterator
(new ZipInputStream(is),
newMetaDataFilter()), cparser, names, true,
代码示例来源:origin: org.apache.openjpa/openjpa-all
scan(new ZipStreamMetaDataIterator(zis, newMetaDataFilter()), cparser, names, true, url);
AccessController.doPrivileged(
J2DoPrivHelper.openStreamAction(url));
scan(new ZipStreamMetaDataIterator(
new ZipInputStream(is),
newMetaDataFilter()), cparser, names, true, url);
scan(new ZipStreamMetaDataIterator(new ZipInputStream(is), newMetaDataFilter()),
cparser, names, true, url);
} else {
AccessController.doPrivileged(
J2DoPrivHelper.openStreamAction(url));
scan(new ZipStreamMetaDataIterator
(new ZipInputStream(is),
newMetaDataFilter()), cparser, names, true,
代码示例来源:origin: org.apache.openejb.patch/openjpa
AccessController.doPrivileged(
J2DoPrivHelper.openStreamAction(url));
scan(new ZipStreamMetaDataIterator(
new ZipInputStream(is),
newMetaDataFilter()), cparser, names, true, url);
scan(new ZipStreamMetaDataIterator(new ZipInputStream(is), newMetaDataFilter()),
cparser, names, true, url);
} else {
AccessController.doPrivileged(
J2DoPrivHelper.openStreamAction(url));
scan(new ZipStreamMetaDataIterator
(new ZipInputStream(is),
newMetaDataFilter()), cparser, names, true,
代码示例来源:origin: org.apache.openjpa/openjpa-lib
public String next() throws IOException {
if (!hasNext())
throw new NoSuchElementException();
String ret = _entry.getName();
_last = _entry;
_entry = null;
return ret;
}
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
AccessController.doPrivileged(
J2DoPrivHelper.openStreamAction(url));
scan(new ZipStreamMetaDataIterator(
new ZipInputStream(is),
newMetaDataFilter()), cparser, names, true, url);
AccessController.doPrivileged(
J2DoPrivHelper.openStreamAction(url));
scan(new ZipStreamMetaDataIterator
(new ZipInputStream(is),
newMetaDataFilter()), cparser, names, true,
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
public Object next() throws IOException {
if (!hasNext())
throw new NoSuchElementException();
String ret = _entry.getName();
_last = _entry;
_entry = null;
return ret;
}
代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel
AccessController.doPrivileged(
J2DoPrivHelper.openStreamAction(url));
scan(new ZipStreamMetaDataIterator(
new ZipInputStream(is),
newMetaDataFilter()), cparser, names, true, url);
scan(new ZipStreamMetaDataIterator(new ZipInputStream(is), newMetaDataFilter()),
cparser, names, true, url);
} else {
AccessController.doPrivileged(
J2DoPrivHelper.openStreamAction(url));
scan(new ZipStreamMetaDataIterator
(new ZipInputStream(is),
newMetaDataFilter()), cparser, names, true,
代码示例来源:origin: org.apache.openjpa/openjpa-all
public String next() throws IOException {
if (!hasNext())
throw new NoSuchElementException();
String ret = _entry.getName();
_last = _entry;
_entry = null;
return ret;
}
内容来源于网络,如有侵权,请联系作者删除!