code: private byte[] getBytesFromDocumentEntry(final DocumentEntry de)
  			throws IOException {
  		InputStream is = null;
  		try {
  			is = new DocumentInputStream(de);
  			return getBytesFromStream(is);
  		} finally {
  			if (is != null) {
  				try {
  					is.close();
  				} catch (final IOException e) {
  					LOGGER.error("Could not close input stream for document entry", e);
  				}
  			}
  		}
  	}
docs: Reads the bytes from the DocumentEntry.  This is a convenience method that
  calls {@see #getBytesFromStream(InputStream)} internally. It ensures that the
  opened input stream is closed at the end.
  
  @param de The document entry that should be read.
  @return The bytes of the document entry.
  @throws IOException Thrown if the document entry could not be read.