javax.print
Class DocFlavor.READER
java.lang.Object
javax.print.DocFlavor
javax.print.DocFlavor.READER
- All Implemented Interfaces:
- Serializable, Cloneable
- Enclosing class:
- DocFlavor
public static class DocFlavor.READER
- extends DocFlavor
Predefined static DocFlavor
objects for document
types which use an Reader to retrieve the print data.
All the defined doc flavors have a print data representation
classname of "java.io.Reader".
- See Also:
- Serialized Form
Constructor Summary |
DocFlavor.READER(String mimeType)
Constructor for doc flavor objects with the given MIME type
and a print data representation class name of "java.io.Reader". |
TEXT_HTML
public static final DocFlavor.READER TEXT_HTML
- Reader doc flavor with a MIME Type of "text/html; charset=utf-16".
TEXT_PLAIN
public static final DocFlavor.READER TEXT_PLAIN
- Reader doc flavor with a MIME Type of "text/plain; charset=utf-16".
DocFlavor.READER
public DocFlavor.READER(String mimeType)
- Constructor for doc flavor objects with the given MIME type
and a print data representation class name of "java.io.Reader".
- Parameters:
mimeType
- the mime type string
- Throws:
NullPointerException
- if mimeType is null
.
IllegalArgumentException
- if mimeType has the wrong syntax.