public void toTextOut(CART cart,PrintWriter pw) throws IOException {
  try {
    toWagonFormat(cart.getRootNode(),null,"",pw);
    pw.flush();
    pw.close();
  }
 catch (  IOException ioe) {
    IOException newIOE=new IOException("Error dumping CART to standard output");
    newIOE.initCause(ioe);
    throw newIOE;
  }
}

public void toTextOut ( CART cart , PrintWriter pw ) throws IOException { try { toWagonFormat ( cart . getRootNode ( ) , null , "" , pw ) ; pw . flush ( ) ; pw . close ( ) ; } catch ( IOException ioe ) { IOException newIOE = new IOException ( "Error dumping CART to standard output" ) ; newIOE . initCause ( ioe ) ; throw newIOE ; } }
debug output to a text file
