API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print. DocFlavor.STRING View Source
Author(s)
Alan Kaminsky
Since
Version
Serial
Hierarchy
 Object
      DocFlavor
          DocFlavor.STRING
Implements
Subclasses
Description
publicstatic 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.
See also:   
Constructors
public DocFlavor.STRING (String mimeType)
  Constructs a new doc flavor with the given MIME type and a print data representation class name of "java.lang.String".
Methods
Hide/Show inherited methods
public boolean equals (Object obj) [Inherited From DocFlavor]
  Determines if this doc flavor object is equal to the given object.
public String getMediaSubtype () [Inherited From DocFlavor]
  Returns this doc flavor object's media subtype (from the MIME type).
public String getMediaType () [Inherited From DocFlavor]
  Returns this doc flavor object's media type (from the MIME type).
public String getMimeType () [Inherited From DocFlavor]
  Returns this doc flavor object's MIME type string based on the canonical form.
public String getParameter (String paramName) [Inherited From DocFlavor]
  Returns a String representing a MIME parameter.
public String getRepresentationClassName () [Inherited From DocFlavor]
  Returns the name of this doc flavor object's representation class.
public int hashCode () [Inherited From DocFlavor]
Returns a hash code for this doc flavor object.
public String toString () [Inherited From DocFlavor]
  Converts this DocFlavor to a string.
Fields
Hide/Show inherited fields
publicfinalstatic String hostEncoding [Inherited From DocFlavor]
  A String representing the host operating system encoding.
publicfinalstatic STRING TEXT_HTML
Doc flavor with MIME type = "text/html; charset=utf-16", print data representation class name = "java.lang.String".
publicfinalstatic STRING TEXT_PLAIN
Doc flavor with MIME type = "text/plain; charset=utf-16", print data representation class name = "java.lang.String".
Nested Classes
  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.
  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.
  DocFlavor.URL
Class DocFlavor.URL provides predefined static constant DocFlavor objects.
  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.
  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.
  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.
  DocFlavor.SERVICE_FORMATTED
Class DocFlavor.SERVICE_FORMATTED provides predefined static constant DocFlavor objects for example doc flavors for service formatted print data.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar