Class CMAPChunk


  • final class CMAPChunk
    extends IFFChunk
    CMAPChunk
    Version:
    $Id: CMAPChunk.java,v 1.0 28.feb.2006 00:38:05 haku Exp$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) byte[] blues  
      (package private) byte[] greens  
      private java.awt.image.IndexColorModel model  
      (package private) byte[] reds  
    • Constructor Summary

      Constructors 
      Constructor Description
      CMAPChunk​(int pChunkLength)  
      CMAPChunk​(java.awt.image.IndexColorModel pModel)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.image.IndexColorModel getIndexColorModel​(Form.ILBMForm header)  
      (package private) void readChunk​(java.io.DataInput input)  
      java.lang.String toString()  
      (package private) void writeChunk​(java.io.DataOutput output)  
      • Methods inherited from class com.twelvemonkeys.imageio.plugins.iff.IFFChunk

        skipData
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • reds

        byte[] reds
      • greens

        byte[] greens
      • blues

        byte[] blues
      • model

        private java.awt.image.IndexColorModel model
    • Constructor Detail

      • CMAPChunk

        CMAPChunk​(int pChunkLength)
      • CMAPChunk

        public CMAPChunk​(java.awt.image.IndexColorModel pModel)
    • Method Detail

      • readChunk

        void readChunk​(java.io.DataInput input)
                throws java.io.IOException
        Specified by:
        readChunk in class IFFChunk
        Throws:
        java.io.IOException
      • writeChunk

        void writeChunk​(java.io.DataOutput output)
                 throws java.io.IOException
        Specified by:
        writeChunk in class IFFChunk
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class IFFChunk
      • getIndexColorModel

        public java.awt.image.IndexColorModel getIndexColorModel​(Form.ILBMForm header)
                                                          throws javax.imageio.IIOException
        Throws:
        javax.imageio.IIOException