public boolean write(String p_design_name){
  String session_name=p_design_name.replace(".dsn",".ses");
  try {
    String[] reserved_chars={"(",")"," ","-"};
    DsnIdentifier identifier_type=new DsnIdentifier(reserved_chars,r_board.host_com.specctra_parser_info.string_quote);
    write_session_scope(identifier_type,session_name,p_design_name);
    output_file.close();
    stat.userPrintln(classname + "write DONE");
  }
 catch (  Exception exc) {
    stat.userPrintln("unable to write session file",exc);
    return false;
  }
  return true;
}

public boolean write ( String p_design_name ) { String session_name = p_design_name . replace ( ".dsn" , ".ses" ) ; try { String [ ] reserved_chars = { "(" , ")" , " " , "-" } ; DsnIdentifier identifier_type = new DsnIdentifier ( reserved_chars , r_board . host_com . specctra_parser_info . string_quote ) ; write_session_scope ( identifier_type , session_name , p_design_name ) ; output_file . close ( ) ; stat . userPrintln ( classname + "write DONE" ) ; } catch ( Exception exc ) { stat . userPrintln ( "unable to write session file" , exc ) ; return false ; } return true ; }
creates a specctra session file to update the host system from the routingbooard
