Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.ydp.jai
Class PNGChunk  view PNGChunk download PNGChunk.java

java.lang.Object
  extended byorg.ydp.jai.PNGChunk

class PNGChunk
extends java.lang.Object


Field Summary
(package private)  int crc
           
(package private)  byte[] data
           
(package private)  int length
           
(package private)  int type
           
(package private)  java.lang.String typeString
           
 
Constructor Summary
PNGChunk(int length, int type, byte[] data, int crc)
           
 
Method Summary
 byte getByte(int offset)
           
 byte[] getData()
           
 int getInt1(int offset)
           
 int getInt2(int offset)
           
 int getInt4(int offset)
           
 int getLength()
           
 java.lang.String getString4(int offset)
           
 int getType()
           
 java.lang.String getTypeString()
           
 boolean isType(java.lang.String typeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

length

int length

type

int type

data

byte[] data

crc

int crc

typeString

java.lang.String typeString
Constructor Detail

PNGChunk

public PNGChunk(int length,
                int type,
                byte[] data,
                int crc)
Method Detail

getLength

public int getLength()

getType

public int getType()

getTypeString

public java.lang.String getTypeString()

getData

public byte[] getData()

getByte

public byte getByte(int offset)

getInt1

public int getInt1(int offset)

getInt2

public int getInt2(int offset)

getInt4

public int getInt4(int offset)

getString4

public java.lang.String getString4(int offset)

isType

public boolean isType(java.lang.String typeName)