keiron 02/03/11 05:01:24 Modified: src/org/apache/fop/image/analyser ImageReader.java Log: comment about reader behaviour Revision Changes Path 1.6 +7 -1 xml-fop/src/org/apache/fop/image/analyser/ImageReader.java Index: ImageReader.java =================================================================== RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/analyser/ImageReader.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ImageReader.java 25 Feb 2002 09:31:03 -0000 1.5 +++ ImageReader.java 11 Mar 2002 13:01:24 -0000 1.6 @@ -1,5 +1,5 @@ /* - * $Id: ImageReader.java,v 1.5 2002/02/25 09:31:03 keiron Exp $ + * $Id: ImageReader.java,v 1.6 2002/03/11 13:01:24 keiron Exp $ * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. @@ -23,6 +23,12 @@ /** * Verify image type. + * If the stream does not contain image data expected by + * the reader it must reset the stream to the start. This + * is so that the next reader can start reading from the start. + * The reader must not close the stream unless it can handle + * the image and it has read the information. + * * @param bis Image buffered input stream * @return true if image type is the handled one * @exception IOException io error
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]