3940414243444546474849
new ContainerAwareDetector(MimeTypes.getDefaultMimeTypes()); try { assertEquals( MediaType.application("vnd.ms-tnef"), detector.detect(stream, new Metadata())); } finally { stream.close(); } }