public class MSPReader extends BaseImageReader implements JImageReader
| Modifier and Type | Class and Description | 
|---|---|
| class  | MSPReader.ScanLine | 
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales| Constructor and Description | 
|---|
| MSPReader(ImageReaderSpi originatingProvider) | 
| MSPReader(String string)Constructor takes a String representation of the MSP file location. | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | canReadImage(ImageInputStream iis)Utility method to determine if we can read a given input. | 
| int | getHeight()Returns the height of the image in pixels. | 
| String | getMetadataSummary()Returns a summary of the image's metadata. | 
| int | getWidth()Returns the width of the image in pixels. | 
| void | parse()Parses the MSP that has been read into the buffer. | 
| String | toString() | 
createBufferedImage, getHeight, getImage, getImageMetadata, getImageTypes, getNumImages, getStreamMetadata, getWidth, processFile, read, readFile, readFileabort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, canReadRaster, checkReadParamBandSettings, clearAbortRequest, computeRegions, dispose, getAspectRatio, getAvailableLocales, getDefaultReadParam, getDestination, getFormatName, getImageMetadata, getInput, getLocale, getMinIndex, getNumThumbnails, getOriginatingProvider, getRawImageType, getSourceRegion, getStreamMetadata, getThumbnailHeight, getThumbnailWidth, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, hasThumbnails, isIgnoringMetadata, isImageTiled, isRandomAccessEasy, isSeekForwardOnly, processImageComplete, processImageProgress, processImageStarted, processImageUpdate, processPassComplete, processPassStarted, processReadAborted, processSequenceComplete, processSequenceStarted, processThumbnailComplete, processThumbnailPassComplete, processThumbnailPassStarted, processThumbnailProgress, processThumbnailStarted, processThumbnailUpdate, processWarningOccurred, processWarningOccurred, read, readAll, readAll, readAsRenderedImage, readerSupportsThumbnails, readRaster, readThumbnail, readTile, readTileRaster, removeAllIIOReadProgressListeners, removeAllIIOReadUpdateListeners, removeAllIIOReadWarningListeners, removeIIOReadProgressListener, removeIIOReadUpdateListener, removeIIOReadWarningListener, reset, setInput, setInput, setInput, setLocaleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetImage, processFilepublic MSPReader(ImageReaderSpi originatingProvider)
public MSPReader(String string)
string - - A String representing the MSP file location.public static boolean canReadImage(ImageInputStream iis)
iis - The ImageInputStream that is being checked.public void parse()
           throws IllegalDataException
parse in class BaseImageReaderIllegalDataException - If parsing cannot be completed due to illegal data.public int getWidth()
BaseImageReadergetWidth in interface JImageReadergetWidth in class BaseImageReaderpublic int getHeight()
BaseImageReadergetHeight in interface JImageReadergetHeight in class BaseImageReaderpublic String getMetadataSummary()
JImageReadergetMetadataSummary in interface JImageReaderCopyright © 2020. All rights reserved.