Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.print
Class DocFlavor.STRING  view DocFlavor.STRING download DocFlavor.STRING.java

java.lang.Object
  extended byjavax.print.DocFlavor
      extended byjavax.print.DocFlavor.STRING
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Enclosing class:
DocFlavor

public static class DocFlavor.STRING
extends DocFlavor

Predefined static DocFlavor objects for document types which use a String for the print data representation.

All the defined doc flavors have a print data representation classname of "java.lang.String".


Nested Class Summary
 
Nested classes inherited from class javax.print.DocFlavor
DocFlavor.BYTE_ARRAY, DocFlavor.CHAR_ARRAY, DocFlavor.INPUT_STREAM, DocFlavor.READER, DocFlavor.SERVICE_FORMATTED, DocFlavor.STRING, DocFlavor.URL
 
Field Summary
private static long serialVersionUID
           
static DocFlavor.STRING TEXT_HTML
          String doc flavor with a MIME Type of "text/html; charset=utf-16".
static DocFlavor.STRING TEXT_PLAIN
          String doc flavor with a MIME Type of "text/plain; charset=utf-16".
 
Fields inherited from class javax.print.DocFlavor
hostEncoding
 
Constructor Summary
DocFlavor.STRING(java.lang.String mimeType)
          Constructor for doc flavor objects with the given MIME type and a print data representation class name of "java.lang.String".
 
Methods inherited from class javax.print.DocFlavor
equals, getMediaSubtype, getMediaType, getMimeType, getParameter, getRepresentationClassName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

TEXT_HTML

public static final DocFlavor.STRING TEXT_HTML
String doc flavor with a MIME Type of "text/html; charset=utf-16".


TEXT_PLAIN

public static final DocFlavor.STRING TEXT_PLAIN
String doc flavor with a MIME Type of "text/plain; charset=utf-16".

Constructor Detail

DocFlavor.STRING

public DocFlavor.STRING(java.lang.String mimeType)
Constructor for doc flavor objects with the given MIME type and a print data representation class name of "java.lang.String".