private void readJarFile(String fileName) throws IOException {
  JarEntry je;
  JarInputStream jis=new JarInputStream(new FileInputStream(fileName));
  while ((je=jis.getNextJarEntry()) != null) {
    String jarName=je.getName();
    if (jarName.endsWith(".class"))     loadClassBytes(jis,jarName);
    jis.closeEntry();
  }
}

private void readJarFile ( String fileName ) throws IOException { JarEntry je ; JarInputStream jis = new JarInputStream ( new FileInputStream ( fileName ) ) ; while ( ( je = jis . getNextJarEntry ( ) ) != null ) { String jarName = je . getName ( ) ; if ( jarName . endsWith ( ".class" ) ) loadClassBytes ( jis , jarName ) ; jis . closeEntry ( ) ; } }
reads jar file and stored classes locally .
