code: public boolean write( Object dataObject ) throws Exception {
          /*
           * open the streams: the file for the map to create but also the needed null-file inside of
           * the cell_misc folder
           */
          File ds1 = new File(fcellFilePath);
          RandomAccessFile theCreatedFile = new RandomAccessFile(ds1, "rw"); //$NON-NLS-1$
          File ds2 = new File(mapsetPath + File.separator + GrassLegacyConstans.CELL_MISC + File.separator + name + File.separator
                  + GrassLegacyConstans.CELLMISC_NULL);
          RandomAccessFile theCreatedNullFile = new RandomAccessFile(ds2, "rw"); //$NON-NLS-1$
  
          /*
           * finally writing to disk
           */
          CompressesRasterWriter crwriter = new CompressesRasterWriter(outputToDiskType, range, pointerInFilePosition,
                  rowaddresses, dataWindow);
          crwriter.compressAndWriteObj(theCreatedFile, theCreatedNullFile, dataObject);
          // not sure I have to do this, have to check sooner or later
          outputToDiskType = crwriter.getOutputToDiskType();
          range = crwriter.getRange();
          pointerInFilePosition = crwriter.getPointerInFilePosition();
          rowaddresses = crwriter.getRowaddresses();
          dataWindow = crwriter.getDataWindow();
  
          theCreatedFile.close();
          theCreatedNullFile.close();
          createUtilityFiles();
          return true;
      }
docs: /*
  (non-Javadoc)
  
  @see jgrass.io.MapWriter#write(java.lang.Object)