javax.print
public class: DocFlavor [javadoc |
source]
java.lang.Object
javax.print.DocFlavor
All Implemented Interfaces:
Cloneable, Serializable
Direct Known Subclasses:
URL, READER, SERVICE_FORMATTED, CHAR_ARRAY, STRING, INPUT_STREAM, BYTE_ARRAY
Encapsulates an object that specifies the format to a DocPrintJob print
data.
- author:
Irina - A. Arkhipets
| Field Summary |
|---|
| public static final String | hostEncoding | |
| Constructor: |
public DocFlavor(String mimeType,
String className) {
if ((mimeType == null) || (className == null)) {
throw new NullPointerException();
}
aType = new MimeType(mimeType);
aClass = className;
}
|
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |