--- old/src/java.desktop/share/classes/javax/print/attribute/standard/JobKOctets.java 2017-09-03 00:46:50.000000000 -0700 +++ new/src/java.desktop/share/classes/javax/print/attribute/standard/JobKOctets.java 2017-09-03 00:46:50.000000000 -0700 @@ -69,40 +69,41 @@ * The size of a doc is computed based on the print data representation class as * specified by the doc's {@link javax.print.DocFlavor DocFlavor}, as shown in * the table below. + * *
Representation Class - * | Document Size + * | Representation Class + * | Document Size * |
---|---|---|---|
{@code byte[]} + * | {@code byte[]} * | Length of the byte array * | |
{@code java.io.InputStream} + * | {@code java.io.InputStream} * | Number of bytes read from the stream * | |
{@code char[]} + * | {@code char[]} * | Length of the character array x 2 * | |
{@code java.lang.String} + * | {@code java.lang.String} * | Length of the string x 2 * | |
{@code java.io.Reader} + * | {@code java.io.Reader} * | Number of characters read from the stream x 2 * | |
{@code java.net.URL} + * | {@code java.net.URL} * | Number of bytes read from the file at the given {@code URL} address * | |
{@code java.awt.image.renderable.RenderableImage} + * | {@code java.awt.image.renderable.RenderableImage} * | Implementation dependent* * | |
{@code java.awt.print.Printable} + * | {@code java.awt.print.Printable} * | Implementation dependent* * | |
{@code java.awt.print.Pageable} + * | {@code java.awt.print.Pageable} * | Implementation dependent* * |