public void write(OutputStream oStream) throws IOException {
  byte[] array=toByteArray();
  oStream.write(array);
}

public void write ( OutputStream oStream ) throws IOException { byte [ ] array = toByteArray ( ) ; oStream . write ( array ) ; }
write the class file to the outputstream .
