code: public void write(DataOutput out) throws IOException {
      Text.writeString(out, getPath().toString());
      out.writeLong(length);
      out.writeBoolean(isdir);
      out.writeShort(block_replication);
      out.writeLong(blocksize);
      out.writeLong(modification_time);
      out.writeLong(access_time);
      permission.write(out);
      Text.writeStringOpt(out, owner);
      Text.writeStringOpt(out, group);
    }
docs: ////////////////////////////////////////////////