public void parseLoggcFile(InputStream loggcFileStream,DefaultMutableTreeNode root){
  BufferedReader bis=new BufferedReader(new InputStreamReader(loggcFileStream));
  Vector histograms=new Vector();
  try {
    while (bis.ready()) {
      bis.mark(getMarkSize());
      String nextLine=bis.readLine();
      if (nextLine.startsWith("num   #instances    #bytes  class name")) {
        bis.reset();
        histograms.add(parseNextClassHistogram(bis));
      }
    }
    for (int i=histograms.size() - 1; i >= 0; i--) {
      DefaultMutableTreeNode dump=getNextDumpForHistogram(root);
      if (dump != null) {
        addHistogramToDump(dump,(HistogramTableModel)histograms.get(i));
      }
    }
  }
 catch (  IOException ex) {
    ex.printStackTrace();
  }
}

public void parseLoggcFile ( InputStream loggcFileStream , DefaultMutableTreeNode root ) { BufferedReader bis = new BufferedReader ( new InputStreamReader ( loggcFileStream ) ) ; Vector histograms = new Vector ( ) ; try { while ( bis . ready ( ) ) { bis . mark ( getMarkSize ( ) ) ; String nextLine = bis . readLine ( ) ; if ( nextLine . startsWith ( "num   #instances    #bytes  class name" ) ) { bis . reset ( ) ; histograms . add ( parseNextClassHistogram ( bis ) ) ; } } for ( int i = histograms . size ( ) - 1 ; i >= 0 ; i -- ) { DefaultMutableTreeNode dump = getNextDumpForHistogram ( root ) ; if ( dump != null ) { addHistogramToDump ( dump , ( HistogramTableModel ) histograms . get ( i ) ) ; } } } catch ( IOException ex ) { ex . printStackTrace ( ) ; } }
parses a loggc file stream and reads any found class histograms and adds the to the dump store
