private void loadClassBytes(JarInputStream jis,String jarName) throws IOException {
  BufferedInputStream jarBuf=new BufferedInputStream(jis);
  ByteArrayOutputStream jarOut=new ByteArrayOutputStream();
  int b;
  while ((b=jarBuf.read()) != -1)   jarOut.write(b);
  String urlName=jarName.substring(0,jarName.length() - 6);
  String name=urlName.replace('/','.');
  clsArrs.put(name,jarOut.toByteArray());
}

private void loadClassBytes ( JarInputStream jis , String jarName ) throws IOException { BufferedInputStream jarBuf = new BufferedInputStream ( jis ) ; ByteArrayOutputStream jarOut = new ByteArrayOutputStream ( ) ; int b ; while ( ( b = jarBuf . read ( ) ) != - 1 ) jarOut . write ( b ) ; String urlName = jarName . substring ( 0 , jarName . length ( ) - 6 ) ; String name = urlName . replace ( '/' , '.' ) ; clsArrs . put ( name , jarOut . toByteArray ( ) ) ; }
loads class bytes to storege .
