net.aerith.misao.image.io
Class Png

java.lang.Object
  |
  +--net.aerith.misao.image.io.Format
        |
        +--net.aerith.misao.image.io.JimiFormat
              |
              +--net.aerith.misao.image.io.Png

public class Png
extends JimiFormat

The Png is a class to read and save PNG file. It is just an access interface to the file.


Fields inherited from class net.aerith.misao.image.io.Format
url
 
Constructor Summary
Png(java.net.URL url)
          Constructs a Png with URL.
 
Method Summary
 java.lang.String getMimeType()
          Gets the MIME type ID.
 java.lang.String getName()
          Gets the name of the image format.
 
Methods inherited from class net.aerith.misao.image.io.JimiFormat
read, save, save, save
 
Methods inherited from class net.aerith.misao.image.io.Format
create, create, getTruncatedFilename, isFits, setURL
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Png

public Png(java.net.URL url)
Constructs a Png with URL.
Parameters:
url - the URL of the PNG file.
Method Detail

getName

public java.lang.String getName()
Gets the name of the image format.
Overrides:
getName in class Format
Returns:
the name of the image format.

getMimeType

public java.lang.String getMimeType()
Gets the MIME type ID.
Overrides:
getMimeType in class JimiFormat
Returns:
the MIME type ID.