question: public static Map < String , byte [ ] > loadNonClassEntries ( File jarFile ) throws IOException { Map < String , byte [ ] > entries = new HashMap < String , byte [ ] > ( ) ; ZipInputStream jis = new ZipInputStream ( new FileInputStream ( jarFile ) ) ; ZipEntry entry ; while ( ( entry = jis . getNextEntry ( ) ) != null ) { try { final String name = entry . getName ( ) ; if ( ! name . endsWith ( ".class" ) && ! entry . isDirectory ( ) ) { byte [ ] bytes = IOUtils . toByteArray ( jis ) ; entries . put ( name , bytes ) ; } } catch ( Exception e ) { e . printStackTrace ( ) ; } finally { jis . closeEntry ( ) ; } } jis . close ( ) ; return entries ; }
target:  Creates a map of <String(entry name), byte[]> for a given jar file