コード例 #1
0
ファイル: FileOperatorNode.java プロジェクト: sleyzerzon/soar
 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);
   }
 }
コード例 #2
0
ファイル: FileOperatorNode.java プロジェクト: sleyzerzon/soar
 /**
  * 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);
 }