Archive.Entry, Archive.EntryFilter| 构造器和说明 |
|---|
ExplodedArchive(File root)
Create a new
ExplodedArchive instance. |
ExplodedArchive(File root,
boolean recursive)
Create a new
ExplodedArchive instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
InputStream |
getInputStream(ZipEntry zipEntry) |
Manifest |
getManifest() |
Archive |
getNestedArchive(Archive.Entry entry) |
List<Archive> |
getNestedArchives(Archive.EntryFilter filter) |
URL |
getUrl() |
Iterator<Archive.Entry> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic ExplodedArchive(File root)
ExplodedArchive instance.root - the root folderpublic ExplodedArchive(File root, boolean recursive)
ExplodedArchive instance.root - the root folderrecursive - if recursive searching should be used to locate the manifest.
Defaults to true, folders with a large tree might want to set this to
false.public URL getUrl() throws MalformedURLException
getUrl 在接口中 ArchiveMalformedURLExceptionpublic Manifest getManifest() throws IOException
getManifest 在接口中 ArchiveIOExceptionpublic List<Archive> getNestedArchives(Archive.EntryFilter filter) throws IOException
getNestedArchives 在接口中 ArchiveIOExceptionpublic InputStream getInputStream(ZipEntry zipEntry) throws IOException
getInputStream 在接口中 ArchiveIOExceptionpublic Iterator<Archive.Entry> iterator()
iterator 在接口中 Iterable<Archive.Entry>public Archive getNestedArchive(Archive.Entry entry) throws IOException
getNestedArchive 在接口中 ArchiveIOExceptionCopyright © 2019. All rights reserved.