< prev index next >

src/java.desktop/share/classes/javax/print/DocFlavor.java

Print this page

        

*** 173,197 **** * <li>Preformatted text * <table class="striped"> * <caption>MIME-Types and their descriptions</caption> * <thead> * <tr> ! * <th>MIME-Type ! * <th>Description * </thead> * <tbody> * <tr> ! * <td>{@code "text/plain"} * <td>Plain text in the default character set (US-ASCII) * <tr> ! * <td><code> "text/plain; charset=<i>xxx</i>"</code> * <td>Plain text in character set <i>xxx</i> * <tr> ! * <td>{@code "text/html"} * <td>HyperText Markup Language in the default character set (US-ASCII) * <tr> ! * <td><code> "text/html; charset=<i>xxx</i>"</code> * <td>HyperText Markup Language in character set <i>xxx</i> * </tbody> * </table> * In general, preformatted text print data is provided either in a character * oriented representation class (character array, String, Reader) or in a --- 173,197 ---- * <li>Preformatted text * <table class="striped"> * <caption>MIME-Types and their descriptions</caption> * <thead> * <tr> ! * <th scope="col">MIME-Type ! * <th scope="col">Description * </thead> * <tbody> * <tr> ! * <th scope="row">{@code "text/plain"} * <td>Plain text in the default character set (US-ASCII) * <tr> ! * <th scope="row"><code> "text/plain; charset=<i>xxx</i>"</code> * <td>Plain text in character set <i>xxx</i> * <tr> ! * <th scope="row">{@code "text/html"} * <td>HyperText Markup Language in the default character set (US-ASCII) * <tr> ! * <th scope="row"><code> "text/html; charset=<i>xxx</i>"</code> * <td>HyperText Markup Language in character set <i>xxx</i> * </tbody> * </table> * In general, preformatted text print data is provided either in a character * oriented representation class (character array, String, Reader) or in a
*** 199,258 **** * <li>Preformatted page description language (PDL) documents * <table class="striped"> * <caption>MIME-Types and their descriptions</caption> * <thead> * <tr> ! * <th>MIME-Type ! * <th>Description * </thead> * <tbody> * <tr> ! * <td>{@code "application/pdf"} * <td>Portable Document Format document * <tr> ! * <td>{@code "application/postscript"} * <td>PostScript document * <tr> ! * <td>{@code "application/vnd.hp-PCL"} * <td>Printer Control Language document * </tbody> * </table> * In general, preformatted PDL print data is provided in a byte oriented * representation class (byte array, {@code InputStream}, {@code URL}). * <li>Preformatted images * <table class="striped"> * <caption>MIME-Types and their descriptions</caption> * <thead> * <tr> ! * <th>MIME-Type ! * <th>Description * </thead> * <tbody> * <tr> ! * <td>{@code "image/gif"} * <td>Graphics Interchange Format image * <tr> ! * <td>{@code "image/jpeg"} * <td>Joint Photographic Experts Group image * <tr> ! * <td>{@code "image/png"} * <td>Portable Network Graphics image * </tbody> * </table> * In general, preformatted image print data is provided in a byte oriented * representation class (byte array, {@code InputStream}, {@code URL}). * <li>Preformatted autosense print data * <table class="striped"> * <caption>MIME-Types and their descriptions</caption> * <thead> * <tr> ! * <th>MIME-Type ! * <th>Description * </thead> * <tbody> * <tr> ! * <td>{@code "application/octet-stream"} * <td>The print data format is unspecified (just an octet stream) * </tbody> * </table> * The printer decides how to interpret the print data; the way this * "autosensing" works is implementation dependent. In general, preformatted --- 199,258 ---- * <li>Preformatted page description language (PDL) documents * <table class="striped"> * <caption>MIME-Types and their descriptions</caption> * <thead> * <tr> ! * <th scope="col">MIME-Type ! * <th scope="col">Description * </thead> * <tbody> * <tr> ! * <th scope="row">{@code "application/pdf"} * <td>Portable Document Format document * <tr> ! * <th scope="row">{@code "application/postscript"} * <td>PostScript document * <tr> ! * <th scope="row">{@code "application/vnd.hp-PCL"} * <td>Printer Control Language document * </tbody> * </table> * In general, preformatted PDL print data is provided in a byte oriented * representation class (byte array, {@code InputStream}, {@code URL}). * <li>Preformatted images * <table class="striped"> * <caption>MIME-Types and their descriptions</caption> * <thead> * <tr> ! * <th scope="col">MIME-Type ! * <th scope="col">Description * </thead> * <tbody> * <tr> ! * <th scope="row">{@code "image/gif"} * <td>Graphics Interchange Format image * <tr> ! * <th scope="row">{@code "image/jpeg"} * <td>Joint Photographic Experts Group image * <tr> ! * <th scope="row">{@code "image/png"} * <td>Portable Network Graphics image * </tbody> * </table> * In general, preformatted image print data is provided in a byte oriented * representation class (byte array, {@code InputStream}, {@code URL}). * <li>Preformatted autosense print data * <table class="striped"> * <caption>MIME-Types and their descriptions</caption> * <thead> * <tr> ! * <th scope="col">MIME-Type ! * <th scope="col">Description * </thead> * <tbody> * <tr> ! * <th scope="row">{@code "application/octet-stream"} * <td>The print data format is unspecified (just an octet stream) * </tbody> * </table> * The printer decides how to interpret the print data; the way this * "autosensing" works is implementation dependent. In general, preformatted
< prev index next >