public static Collection < ZipEntry > getEntriesByExtension ( File jar , String path , String extension ) { Check . notNull ( jar ) ; Check . notNull ( path ) ; Check . notNull ( extension ) ; try ( ZipFile zip = new ZipFile ( jar ) ) { return checkEntries ( zip , path , extension ) ; } catch ( final IOException exception ) { throw new LionEngineException ( exception , ERROR_OPEN_ZIP + jar . getAbsolutePath ( ) ) ; } }
Get all entries existing in the path considering the extension .