javax.print

Class DocFlavor.SERVICE_FORMATTED

public static class DocFlavor.SERVICE_FORMATTED extends DocFlavor

Predefined static 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".

Field Summary
static DocFlavor.SERVICE_FORMATTEDPAGEABLE
Service formatted doc flavor with a representation class of "java.awt.print.Pageable".
static DocFlavor.SERVICE_FORMATTEDPRINTABLE
Service formatted doc flavor with a representation class of "java.awt.print.Printable".
static DocFlavor.SERVICE_FORMATTEDRENDERABLE_IMAGE
Service formatted doc flavor with a representation class of "java.awt.image.renderable.RenderableImage".
Constructor Summary
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.

Field Detail

PAGEABLE

public static final DocFlavor.SERVICE_FORMATTED PAGEABLE
Service formatted doc flavor with a representation class of "java.awt.print.Pageable".

PRINTABLE

public static final DocFlavor.SERVICE_FORMATTED PRINTABLE
Service formatted doc flavor with a representation class of "java.awt.print.Printable".

RENDERABLE_IMAGE

public static final DocFlavor.SERVICE_FORMATTED RENDERABLE_IMAGE
Service formatted doc flavor with a representation class of "java.awt.image.renderable.RenderableImage".

Constructor Detail

SERVICE_FORMATTED

public 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.

Parameters: className the representation classname

Throws: NullPointerException if className is null.