Searched refs:AUTOSENSE (Results 1 - 6 of 6) sorted by relevance

/openjdk7/jdk/test/javax/print/attribute/autosense/
H A DPrintAutoSenseData.java27 * @summary Test for printing AUTOSENSE DocFlavor. No exception should be thrown.
39 private DocFlavor flavor = DocFlavor.URL.AUTOSENSE; //represents the docflavor.
53 System.out.println("DocFlavor.URL.AUTOSENSE supported");
55 System.out.println("DocFlavor.URL.AUTOSENSE not supported. Testing aborted !!");
63 // The print method prints sample file with DocFlavor.URL.AUTOSENSE.
107 return DocFlavor.URL.AUTOSENSE;
/openjdk7/jdk/test/javax/print/PrintSubInputStream/
H A DExample.java51 DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
/openjdk7/jdk/src/share/classes/javax/print/
H A DDocFlavor.java833 public static final BYTE_ARRAY AUTOSENSE = field in class:DocFlavor.BYTE_ARRAY
1035 public static final INPUT_STREAM AUTOSENSE = field in class:DocFlavor.INPUT_STREAM
1226 public static final URL AUTOSENSE = new URL ("application/octet-stream"); field in class:DocFlavor.URL
/openjdk7/jdk/src/solaris/classes/sun/print/
H A DUnixPrintService.java123 DocFlavor.BYTE_ARRAY.AUTOSENSE,
124 DocFlavor.URL.AUTOSENSE,
125 DocFlavor.INPUT_STREAM.AUTOSENSE
652 if (flavor.equals(DocFlavor.BYTE_ARRAY.AUTOSENSE) ||
653 flavor.equals(DocFlavor.INPUT_STREAM.AUTOSENSE) ||
654 flavor.equals(DocFlavor.URL.AUTOSENSE)) {
H A DIPPPrintService.java215 DocFlavor.BYTE_ARRAY.AUTOSENSE,
216 DocFlavor.INPUT_STREAM.AUTOSENSE,
217 DocFlavor.URL.AUTOSENSE
1192 if (flavor.equals(DocFlavor.BYTE_ARRAY.AUTOSENSE) ||
1193 flavor.equals(DocFlavor.INPUT_STREAM.AUTOSENSE) ||
1194 flavor.equals(DocFlavor.URL.AUTOSENSE)) {
/openjdk7/jdk/src/windows/classes/sun/print/
H A DWin32PrintService.java90 DocFlavor.BYTE_ARRAY.AUTOSENSE,
91 DocFlavor.URL.AUTOSENSE,
92 DocFlavor.INPUT_STREAM.AUTOSENSE
1226 if (flavor.equals(DocFlavor.BYTE_ARRAY.AUTOSENSE) ||
1227 flavor.equals(DocFlavor.INPUT_STREAM.AUTOSENSE) ||
1228 flavor.equals(DocFlavor.URL.AUTOSENSE)) {

Completed in 665 milliseconds