src/share/classes/javax/print/Doc.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2001, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2000, 2013, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 42,57 **** * <LI> * Determine the format, or "doc flavor" (class {@link DocFlavor DocFlavor}), * in which the print data is available. A doc flavor designates the print * data format (a MIME type) and the representation class of the object * from which the print data comes. ! * <P> * <LI> * Obtain the print data representation object, which is an instance of the * doc flavor's representation class. The Print Job can then obtain the actual * print data from the representation object. ! * <P> * <LI> * Obtain the printing attributes that specify additional characteristics of * the doc or that specify processing instructions to be applied to the doc. * Printing attributes are defined in package {@link javax.print.attribute * javax.print.attribute}. The doc returns its printing attributes stored in --- 42,57 ---- * <LI> * Determine the format, or "doc flavor" (class {@link DocFlavor DocFlavor}), * in which the print data is available. A doc flavor designates the print * data format (a MIME type) and the representation class of the object * from which the print data comes. ! * * <LI> * Obtain the print data representation object, which is an instance of the * doc flavor's representation class. The Print Job can then obtain the actual * print data from the representation object. ! * * <LI> * Obtain the printing attributes that specify additional characteristics of * the doc or that specify processing instructions to be applied to the doc. * Printing attributes are defined in package {@link javax.print.attribute * javax.print.attribute}. The doc returns its printing attributes stored in
*** 102,112 **** * the service will only close the stream if it has obtained the stream before * terminating. That is, just because a print service might request data as * a stream does not mean that it will, with the implications that Doc * implementors which rely on the service to close them should create such * streams only in response to a request from the service. - * <P> * <HR> */ public interface Doc { /** --- 102,111 ----