< prev index next >

src/java.desktop/share/classes/com/sun/imageio/plugins/gif/GIFImageWriter.java

Print this page

        

*** 68,78 **** static final String IMAGE_METADATA_NAME = GIFWritableImageMetadata.NATIVE_FORMAT_NAME; /** ! * The <code>output</code> case to an <code>ImageOutputStream</code>. */ private ImageOutputStream stream = null; /** * Whether a sequence is being written. --- 68,78 ---- static final String IMAGE_METADATA_NAME = GIFWritableImageMetadata.NATIVE_FORMAT_NAME; /** ! * The {@code output} case to an {@code ImageOutputStream}. */ private ImageOutputStream stream = null; /** * Whether a sequence is being written.
*** 270,280 **** public boolean canWriteSequence() { return true; } /** ! * Merges <code>inData</code> into <code>outData</code>. The supplied * metadata format name is attempted first and failing that the standard * metadata format name is attempted. */ private void convertMetadata(String metadataFormatName, IIOMetadata inData, --- 270,280 ---- public boolean canWriteSequence() { return true; } /** ! * Merges {@code inData} into {@code outData}. The supplied * metadata format name is attempted first and failing that the standard * metadata format name is attempted. */ private void convertMetadata(String metadataFormatName, IIOMetadata inData,
*** 552,575 **** * and optionally the header (Signature and Logical Screen Descriptor) * and trailer (Block Terminator). * * @param writeHeader Whether to write the header. * @param writeTrailer Whether to write the trailer. ! * @param sm The stream metadata or <code>null</code> if ! * <code>writeHeader</code> is <code>false</code>. * @param iioimage The image and image metadata. * @param p The write parameters. * * @throws IllegalArgumentException if the number of bands is not 1. * @throws IllegalArgumentException if the number of bits per sample is * greater than 8. * @throws IllegalArgumentException if the color component size is * greater than 8. ! * @throws IllegalArgumentException if <code>writeHeader</code> is ! * <code>true</code> and <code>sm</code> is <code>null</code>. ! * @throws IllegalArgumentException if <code>writeHeader</code> is ! * <code>false</code> and a sequence is not being written. */ private void write(boolean writeHeader, boolean writeTrailer, IIOMetadata sm, IIOImage iioimage, --- 552,575 ---- * and optionally the header (Signature and Logical Screen Descriptor) * and trailer (Block Terminator). * * @param writeHeader Whether to write the header. * @param writeTrailer Whether to write the trailer. ! * @param sm The stream metadata or {@code null} if ! * {@code writeHeader} is {@code false}. * @param iioimage The image and image metadata. * @param p The write parameters. * * @throws IllegalArgumentException if the number of bands is not 1. * @throws IllegalArgumentException if the number of bits per sample is * greater than 8. * @throws IllegalArgumentException if the color component size is * greater than 8. ! * @throws IllegalArgumentException if {@code writeHeader} is ! * {@code true} and {@code sm} is {@code null}. ! * @throws IllegalArgumentException if {@code writeHeader} is ! * {@code false} and a sequence is not being written. */ private void write(boolean writeHeader, boolean writeTrailer, IIOMetadata sm, IIOImage iioimage,
< prev index next >