MyOutput out = new MyOutput(s, MediaType.register("application/dicom", "dicom medical data file"));
this.getMetadataService().addExtension("nt", MediaType.TEXT_RDF_NTRIPLES, true); this.getMetadataService().addExtension("nq", MediaType.register("text/nquads", "The NQuads extension to the NTriples RDF serialisation"), true);