--- old/src/java.desktop/share/classes/javax/print/DocFlavor.java 2017-05-18 14:08:02.000000000 -0700 +++ new/src/java.desktop/share/classes/javax/print/DocFlavor.java 2017-05-18 14:08:02.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -194,10 +194,14 @@ * constructor can be used to create an arbitrary doc flavor. *
MIME-Type | Description | *||
---|---|---|---|
{@code "text/plain"} | *Plain text in the default character set (US-ASCII) | @@ -214,6 +218,7 @@ *"text/html; charset=xxx" |
* HyperText Markup Language in character set xxx | *
* In general, preformatted text print data is provided either in a character @@ -222,11 +227,15 @@ * *
MIME-Type | Description | *
---|---|
{@code "application/pdf"} | *Portable Document Format document | *{@code "application/vnd.hp-PCL"} | *Printer Control Language document | * + * *
* In general, preformatted PDL print data is provided in a byte oriented @@ -245,11 +255,14 @@ * *
MIME-Type | Description | *||
---|---|---|---|
{@code "image/gif"} | *Graphics Interchange Format image | @@ -262,6 +275,7 @@ *{@code "image/png"} | *Portable Network Graphics image | *
* In general, preformatted image print data is provided in a byte oriented @@ -269,14 +283,19 @@ * *
MIME-Type | Description | *
---|---|
{@code "application/octet-stream"} | *The print data format is unspecified (just an octet stream) | + *
* The printer decides how to interpret the print data; the way this