Class PNGChunk
- java.lang.Object
-
- org.apache.batik.ext.awt.image.codec.png.PNGChunk
-
class PNGChunk extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
crc
(package private) byte[]
data
(package private) int
length
(package private) int
type
(package private) java.lang.String
typeString
-
Constructor Summary
Constructors Constructor Description PNGChunk(int length, int type, byte[] data, int crc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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)
-
-