JavaTM 2 Platform
Std. Ed. v1.4.1

Uses of Class
javax.print.DocFlavor

Packages that use DocFlavor
javax.print Provides the principal classes and interfaces for the JavaTM Print Service API. 
 

Uses of DocFlavor in javax.print
 

Subclasses of DocFlavor in javax.print
static class DocFlavor.BYTE_ARRAY
          Class DocFlavor.BYTE_ARRAY provides predefined static constant DocFlavor objects for example doc flavors using a byte array (byte[]) as the print data representation class.
static class DocFlavor.CHAR_ARRAY
          Class DocFlavor.CHAR_ARRAY provides predefined static constant DocFlavor objects for example doc flavors using a character array (char[]) as the print data representation class.
static class DocFlavor.INPUT_STREAM
          Class DocFlavor.INPUT_STREAM provides predefined static constant DocFlavor objects for example doc flavors using a byte stream (java.io.InputStream) as the print data representation class.
static class DocFlavor.READER
          Class DocFlavor.READER provides predefined static constant DocFlavor objects for example doc flavors using a character stream (java.io.Reader) as the print data representation class.
static class DocFlavor.SERVICE_FORMATTED
          Class DocFlavor.SERVICE_FORMATTED provides predefined static constant DocFlavor objects for example doc flavors for service formatted print data.
static class DocFlavor.STRING
          Class DocFlavor.STRING provides predefined static constant DocFlavor objects for example doc flavors using a string (java.lang.String) as the print data representation class.
static class DocFlavor.URL
          Class DocFlavor.URL provides predefined static constant DocFlavor objects.
 

Methods in javax.print that return DocFlavor
 DocFlavor SimpleDoc.getDocFlavor()
          Determines the doc flavor in which this doc object will supply its piece of print data.
 DocFlavor[] FlavorException.getUnsupportedFlavors()
          Returns the unsupported flavors.
abstract  DocFlavor[] StreamPrintServiceFactory.getSupportedDocFlavors()
          Queries the factory for the document flavors that can be accepted by printers obtained from this factory.
 DocFlavor Doc.getDocFlavor()
          Determines the doc flavor in which this doc object will supply its piece of print data.
 DocFlavor[] PrintService.getSupportedDocFlavors()
          Determines the print data formats a client can specify when setting up a job for this PrintService.
 

Methods in javax.print with parameters of type DocFlavor
static PrintService ServiceUI.printDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes)
          Presents a dialog to the user for selecting a print service (printer).
static PrintService[] PrintServiceLookup.lookupPrintServices(DocFlavor flavor, AttributeSet attributes)
          Locates print services capable of printing the specified DocFlavor.
static MultiDocPrintService[] PrintServiceLookup.lookupMultiDocPrintServices(DocFlavor[] flavors, AttributeSet attributes)
          Locates MultiDoc print Services capable of printing MultiDocs containing all the specified doc flavors.
abstract  PrintService[] PrintServiceLookup.getPrintServices(DocFlavor flavor, AttributeSet attributes)
          Locates services that can be positively confirmed to support the combination of attributes and DocFlavors specified.
abstract  MultiDocPrintService[] PrintServiceLookup.getMultiDocPrintServices(DocFlavor[] flavors, AttributeSet attributes)
          Not called directly by applications.
static StreamPrintServiceFactory[] StreamPrintServiceFactory.lookupStreamPrintServiceFactories(DocFlavor flavor, String outputMimeType)
          Locates factories for print services that can be used with a print job to output a stream of data in the format specified by flavor.
 boolean PrintService.isDocFlavorSupported(DocFlavor flavor)
          Determines if this print service supports a specific DocFlavor.
 Object PrintService.getSupportedAttributeValues(Class category, DocFlavor flavor, AttributeSet attributes)
          Determines the printing attribute values a client can specify in the given category when setting up a job for this print service.
 boolean PrintService.isAttributeValueSupported(Attribute attrval, DocFlavor flavor, AttributeSet attributes)
          Determines whether a client can specify the given printing attribute value when setting up a job for this Print Service.
 AttributeSet PrintService.getUnsupportedAttributes(DocFlavor flavor, AttributeSet attributes)
          Identifies the attributes that are unsupported for a print request in the context of a particular DocFlavor.
 

Constructors in javax.print with parameters of type DocFlavor
SimpleDoc(Object printData, DocFlavor flavor, DocAttributeSet attributes)
          Constructs a SimpleDoc with the specified print data, doc flavor and doc attribute set.
 


JavaTM 2 Platform
Std. Ed. v1.4.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.