Checks that the ZipFile is still open and reads entries when necessary. @exception IllegalStateException when the ZipFile has already been closed. @exception IOException when the entries could not be read.
()
| 347 | * @exception IOException when the entries could not be read. |
| 348 | */ |
| 349 | private Hashtable getEntries() throws IOException |
| 350 | { |
| 351 | synchronized(rrf) |
| 352 | { |
| 353 | checkClosed(); |
| 354 | |
| 355 | if (entries == null) |
| 356 | readEntries(); |
| 357 | |
| 358 | return entries; |
| 359 | } |
| 360 | } |
| 361 | |
| 362 | /** |
| 363 | * Searches for a zip entry in this archive with the given name. |
no test coverage detected