jwo.utils.gifutils
Class GIFImage.NetscapeExtension

java.lang.Object
  extended byjwo.utils.gifutils.GIFImage.Block
      extended byjwo.utils.gifutils.GIFImage.ApplicationExtension
          extended byjwo.utils.gifutils.GIFImage.NetscapeExtension
Enclosing class:
GIFImage

public class GIFImage.NetscapeExtension
extends jwo.utils.gifutils.GIFImage.ApplicationExtension

Extension block for looping animations.


Field Summary
 String authenticationCode
           
 byte[] data
           
 String identifier
           
 
Constructor Summary
GIFImage.NetscapeExtension(GIFInputStream input)
           
GIFImage.NetscapeExtension(int iterationCount)
          iterationCount should be 0 for infinite loop.
 
Method Summary
 int getIterationCount()
           
 void read(GIFInputStream input)
           
 void setIterationCount(int iterationCount)
          iterationCount should be 0 for infinite loop.
 String toString()
          Return a string representation of the block's fields
 void write(GIFOutputStream output)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

identifier

public String identifier

authenticationCode

public String authenticationCode

data

public byte[] data
Constructor Detail

GIFImage.NetscapeExtension

public GIFImage.NetscapeExtension(GIFInputStream input)
                           throws IOException

GIFImage.NetscapeExtension

public GIFImage.NetscapeExtension(int iterationCount)
iterationCount should be 0 for infinite loop.

Method Detail

setIterationCount

public void setIterationCount(int iterationCount)
iterationCount should be 0 for infinite loop.


getIterationCount

public int getIterationCount()

read

public void read(GIFInputStream input)
          throws IOException
Throws:
IOException

write

public void write(GIFOutputStream output)
           throws IOException
Throws:
IOException

toString

public String toString()
Return a string representation of the block's fields



Copyright Jo Wood, 1996-2004, last modified, 3rd September, 2004