public static class DocFlavor.SERVICE_FORMATTED extends DocFlavor
DocFlavor objects for document
types which use service formatted print data.
All the defined doc flavors have a MIME type of "application/x-java-jvm-local-objectref".
DocFlavor.BYTE_ARRAY, DocFlavor.CHAR_ARRAY, DocFlavor.INPUT_STREAM, DocFlavor.READER, DocFlavor.SERVICE_FORMATTED, DocFlavor.STRING, DocFlavor.URL| Modifier and Type | Field and Description |
|---|---|
static DocFlavor.SERVICE_FORMATTED |
PAGEABLE
Service formatted doc flavor with a representation class of
"java.awt.print.Pageable".
|
static DocFlavor.SERVICE_FORMATTED |
PRINTABLE
Service formatted doc flavor with a representation class of
"java.awt.print.Printable".
|
static DocFlavor.SERVICE_FORMATTED |
RENDERABLE_IMAGE
Service formatted doc flavor with a representation class of
"java.awt.image.renderable.RenderableImage".
|
hostEncoding| Constructor and Description |
|---|
DocFlavor.SERVICE_FORMATTED(String className)
Constructor for doc flavor objects with a MIME type of
"application/x-java-jvm-local-objectref" and the given
print data representation classname.
|
equals, getMediaSubtype, getMediaType, getMimeType, getParameter, getRepresentationClassName, hashCode, toStringpublic static final DocFlavor.SERVICE_FORMATTED PAGEABLE
public static final DocFlavor.SERVICE_FORMATTED PRINTABLE
public static final DocFlavor.SERVICE_FORMATTED RENDERABLE_IMAGE
public DocFlavor.SERVICE_FORMATTED(String className)
className - the representation classnameNullPointerException - if className is null.