code: public MIMETypedStream viewDublinCore() throws ServerException {
          // get dublin core record as xml
          Datastream dcmd = null;
          Reader in = null;
          try {
              ReadableCharArrayWriter out = new ReadableCharArrayWriter(512);
              dcmd =
                      reader.GetDatastream("DC",
                                                                   asOfDateTime);
              ObjectInfoAsXML.getOAIDublinCore(dcmd, out);
              out.close();
              in = out.toReader();
          } catch (ClassCastException cce) {
              throw new ObjectIntegrityException("Object "
                      + reader.GetObjectPID()
                      + " has a DC datastream, but it's not inline XML.");
  
          }
  
          // convert the dublin core xml to an html view
          try {
              //InputStream in = getDublinCore().getStream();
              ReadableByteArrayOutputStream bytes =
                      new ReadableByteArrayOutputStream(1024);
              PrintWriter out =
                      new PrintWriter(
                              new OutputStreamWriter(bytes, Charset.forName("UTF-8")));
              File xslFile = new File(reposHomeDir, "access/viewDublinCore.xslt");
              Templates template =
                      XmlTransformUtility.getTemplates(xslFile);
              Transformer transformer = template.newTransformer();
              transformer.setParameter("fedora", context
                      .getEnvironmentValue(Constants.FEDORA_APP_CONTEXT_NAME));
              transformer.transform(new StreamSource(in), new StreamResult(out));
              out.close();
              return new MIMETypedStream("text/html", bytes.toInputStream(),
                      null, bytes.length());
          } catch (Exception e) {
              throw new DisseminationException("[DefaultDisseminatorImpl] had an error "
                      + "in transforming xml for viewDublinCore. "
                      + "Underlying exception was: " + e.getMessage());
          }
      }
docs: Returns the Dublin Core record for the object, if one exists. The record
  is returned as HTML in a presentation-oriented format.
  
  @return html packaged as a MIMETypedStream
  @throws ServerException