Example #1
0
 public void write(Writer w) throws IOException {
   if (isHighLevel) {
     w.write(
         "HLFOPERATOR "
             + name
             + " "
             + fileAssociation
             + " "
             + folderName
             + " "
             + dataMapId.getValue()
             + " "
             + id);
   } else {
     w.write("FOPERATOR " + name + " " + fileAssociation + " " + id);
   }
 }
Example #2
0
 /**
  * Given a Writer this writes out a description of the soar operator node that can be read back in
  * later
  *
  * @param w the writer
  * @throws IOException if there is an error writing to the writer
  */
 public void exportDesc(Writer w) throws IOException {
   if (isHighLevel) w.write("HLFOPERATOR " + name + " " + dataMapIdNumber);
   else w.write("FOPERATOR " + name);
 }