Class J2KReadState
java.lang.Object
com.sun.media.imageioimpl.plugins.jpeg2000.J2KReadState
-
Constructor Summary
ConstructorsConstructorDescriptionJ2KReadState(ImageInputStream iis, J2KImageReadParamJava param, J2KImageReader reader) ConstructsJ2KReadState.J2KReadState(ImageInputStream iis, J2KImageReadParamJava param, J2KMetadata metadata, J2KImageReader reader) ConstructsJ2KReadState. -
Method Summary
Modifier and TypeMethodDescriptionintgetTile(int tileX, int tileY, WritableRaster raster) intgetWidth()
-
Constructor Details
-
J2KReadState
public J2KReadState(ImageInputStream iis, J2KImageReadParamJava param, J2KMetadata metadata, J2KImageReader reader) ConstructsJ2KReadState.- Parameters:
iis- The input stream.param- The reading parameters.metadata- TheJ2KMetadatato cache the metadata read from the input stream.reader- TheJ2KImageReaderwhich holds this state. It is necessary for processing abortion.- Throws:
IllegalArgumentException- If the providediis,paramormetadataisnull.
-
J2KReadState
ConstructsJ2KReadState.- Parameters:
iis- The input stream.param- The reading parameters.reader- TheJ2KImageReaderwhich holds this state. It is necessary for processing abortion.- Throws:
IllegalArgumentException- If the providediis, orparamisnull.
-
-
Method Details
-
getWidth
- Throws:
IOException
-
getHeight
- Throws:
IOException
-
getHeader
-
getTile
- Throws:
IOException
-
getDestinationRegion
-
readBufferedImage
- Throws:
IOException
-
readAsRaster
- Throws:
IOException
-
getImageType
- Throws:
IOException
-
getSampleModel
-
getColorModel
-