code: public static void printTemporalSemanticSpace(TemporalSemanticSpace sspace,
                                                    File output, 
                                                    TSSpaceFormat format) 
          throws IOException {
  
          switch (format) {
          case TEXT:
              printText(sspace, output);
              break;
          case SPARSE_TEXT:
              printSparseText(sspace, output);
              break;
          case BINARY:
              printBinary(sspace, output);
              break;
          case SPARSE_BINARY:
              printSparseBinary(sspace, output);
              break;
          default:
              throw new IllegalArgumentException("Unknown format type: "+ format);
          }
      }
docs: Writes the data contained in the {@link TemporalSemanticSpace} to the
  provided file and format.  See <a href="#format">here</a> for file format
  specifications.