List of usage examples for javax.print DocFlavor DocFlavor
public DocFlavor(String mimeType, String className)
From source file:org.springframework.integration.print.outbound.PrintMessageHandler.java
public PrintMessageHandler(PrintServiceExecutor printServiceExecutor, String mimeType, String className) { Assert.hasText(className, "'className' must be neither null nor empty."); Assert.hasText(mimeType, "'mimeType' must be neither null nor empty."); this.docFlavor = new DocFlavor(mimeType, className); this.printServiceExecutor = printServiceExecutor; }