(ZipEntry entry)
| 255 | } |
| 256 | |
| 257 | public ZipFile openEntryAsZipFile(ZipEntry entry) throws IOException { |
| 258 | if (entry.getMethod() != METHOD_STORED) { |
| 259 | throw new IOException("Entry is not stored: " + entry.getName()); |
| 260 | } |
| 261 | return new ZipFile(archive.newFragment(entry.getDataOffset(), entry.getCompressedSize())); |
| 262 | } |
| 263 | |
| 264 | public RandomAccessFile getArchive() { |
| 265 | return archive; |
nothing calls this directly
no test coverage detected