public void readBIFFromFile(String sFileName) throws BIFFormatException, IOException {
  m_sFileName=sFileName;
  try {
    BIFReader bayesNet=new BIFReader();
    bayesNet.processFile(sFileName);
    m_BayesNet=new EditableBayesNet(bayesNet);
    updateStatus();
    a_datagenerator.setEnabled(m_BayesNet.getNrOfNodes() > 0);
    m_BayesNet.clearUndoStack();
  }
 catch (  Exception ex) {
    ex.printStackTrace();
    return;
  }
  setAppropriateNodeSize();
  setAppropriateSize();
}

public void readBIFFromFile ( String sFileName ) throws BIFFormatException , IOException { m_sFileName = sFileName ; try { BIFReader bayesNet = new BIFReader ( ) ; bayesNet . processFile ( sFileName ) ; m_BayesNet = new EditableBayesNet ( bayesNet ) ; updateStatus ( ) ; a_datagenerator . setEnabled ( m_BayesNet . getNrOfNodes ( ) > 0 ) ; m_BayesNet . clearUndoStack ( ) ; } catch ( Exception ex ) { ex . printStackTrace ( ) ; return ; } setAppropriateNodeSize ( ) ; setAppropriateSize ( ) ; }
bif reader < br > reads a graph description in xmlbif03 from an file with name sfilename
