/** * Get the description of the format - either the user's or the description * of the format defined by the system. * * @param context context * @return a description of the format. * @throws SQLException if database error */ public String getFormatDescription(Context context) throws SQLException { return getBitstreamService().getFormatDescription(context, this); }
format = bitstreamService.getFormatDescription(context, bitstream); sizeBytes = bitstream.getSizeBytes(); String path = new DSpace().getRequestService().getCurrentRequest().getHttpServletRequest().getContextPath();