This section illustrates you how to display the Image Reader and Image Writer by by MIME Type.
To show the image reader and image writer by MIME Type, we have used ImageIO class of the package javax.imageio.*. The ImageIO class provides the methods for locating ImageReaders and ImageWriters.
The method getReaderMIMETypes() of class ImageIO returns an array of strings consisting of all the image MIME types which the current set of registered readers understands. The method getWriterMIMETypes() returns an array of strings consisting of all the image MIME types which the current set of registered writers understands.
Here is the code of ShowImageIOMimeType.java
Output will be displayed on the console:
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: October 15, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles