/**
  * Get the content (aka 'body') data.
  *
  * @throws CouchbaseLiteException
  */
 @InterfaceAudience.Public
 public InputStream getContent() throws CouchbaseLiteException {
   if (body != null) {
     return body;
   } else {
     Database db = revision.getDatabase();
     Attachment attachment = db.getAttachmentForSequence(revision.getSequence(), this.name);
     body = attachment.getContent();
     return body;
   }
 }