code: @Override
      public void write(char[] cbuf, int off, int len) throws IOException {
          try {
              String indexedHash =
                      RmiJournalReceiverHelper.figureIndexedHash(repositoryHash,
                                                                 itemIndex);
              receiver.writeText(indexedHash, new String(cbuf, off, len));
              itemIndex++;
          } catch (JournalException e) {
              throw new IOException(e);
          }
      }
docs: Each time characters are written, send them to the receiver. Keep track
  of how many writes, so we can create a proper item hash.