net.aerith.misao.image.io
Class Jpeg

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

public class Jpeg
extends JimiFormat

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


Fields inherited from class net.aerith.misao.image.io.Format
url
 
Constructor Summary
Jpeg(java.net.URL url)
          Constructs a Jpeg 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

Jpeg

public Jpeg(java.net.URL url)
Constructs a Jpeg with URL.
Parameters:
url - the URL of the JPEG 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.