public synchronized List < ZipFileIndex > getZipFileIndexes ( boolean openedOnly ) { List < ZipFileIndex > zipFileIndexes = new ArrayList < ZipFileIndex > ( ) ; zipFileIndexes . addAll ( map . values ( ) ) ; if ( openedOnly ) { for ( ZipFileIndex elem : zipFileIndexes ) { if ( ! elem . isOpen ( ) ) { zipFileIndexes . remove ( elem ) ; } } } return zipFileIndexes ; }
Returns a list of all ZipFileIndex entries