equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
166 * The doc's print data representation object is used to construct and |
166 * The doc's print data representation object is used to construct and |
167 * return a Reader for reading the print data as a stream of characters |
167 * return a Reader for reading the print data as a stream of characters |
168 * from the print data representation object. |
168 * from the print data representation object. |
169 * However, if the print data representation object is itself a Reader, |
169 * However, if the print data representation object is itself a Reader, |
170 * then the print data representation object is simply returned. |
170 * then the print data representation object is simply returned. |
171 * <P> |
171 * |
172 * @return Reader for reading the print data characters from this doc. |
172 * @return Reader for reading the print data characters from this doc. |
173 * If a reader cannot be provided because this doc does not meet |
173 * If a reader cannot be provided because this doc does not meet |
174 * the criteria stated above, null is returned. |
174 * the criteria stated above, null is returned. |
175 * |
175 * |
176 * @exception IOException |
176 * @exception IOException |
190 * This doc's print data representation object is obtained, then an input |
190 * This doc's print data representation object is obtained, then an input |
191 * stream for reading the print data from the print data representation |
191 * stream for reading the print data from the print data representation |
192 * object as a stream of bytes is created and returned. However, if the |
192 * object as a stream of bytes is created and returned. However, if the |
193 * print data representation object is itself an input stream, then the |
193 * print data representation object is itself an input stream, then the |
194 * print data representation object is simply returned. |
194 * print data representation object is simply returned. |
195 * <P> |
195 * |
196 * @return Input stream for reading the print data bytes from this doc. If |
196 * @return Input stream for reading the print data bytes from this doc. If |
197 * an input stream cannot be provided because this doc does not |
197 * an input stream cannot be provided because this doc does not |
198 * meet the criteria stated above, null is returned. |
198 * meet the criteria stated above, null is returned. |
199 * |
199 * |
200 * @exception IOException |
200 * @exception IOException |