Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

joelib.io.types
Class JPEG  view JPEG download JPEG.java

java.lang.Object
  extended byjoelib.io.SimpleImageWriter
      extended byjoelib.io.types.JPEG
All Implemented Interfaces:
joelib.io.MoleculeFileType

public class JPEG
extends joelib.io.SimpleImageWriter

Atom representation.


Field Summary
private static java.lang.String description
           
private static java.lang.String[] extensions
           
private static int JPEG_QUALITY_IN_PERCENT
           
private static org.apache.log4j.Category logger
          Obtain a suitable logger.
 
Fields inherited from class joelib.io.SimpleImageWriter
 
Constructor Summary
JPEG()
           
 
Method Summary
 java.lang.String outputDescription()
          Description of the Method
 java.lang.String[] outputFileExtensions()
          Description of the Method
 boolean writeImage(java.awt.Image image, java.io.OutputStream os)
           
 
Methods inherited from class joelib.io.SimpleImageWriter
closeReader, closeWriter, initReader, initWriter, inputDescription, inputFileExtensions, read, read, read, readable, skipReaderEntry, write, write, writeable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.apache.log4j.Category logger
Obtain a suitable logger.


description

private static final java.lang.String description

extensions

private static final java.lang.String[] extensions

JPEG_QUALITY_IN_PERCENT

private static final int JPEG_QUALITY_IN_PERCENT
See Also:
Constant Field Values
Constructor Detail

JPEG

public JPEG()
Method Detail

outputDescription

public java.lang.String outputDescription()
Description copied from interface: joelib.io.MoleculeFileType
Description of the Method


outputFileExtensions

public java.lang.String[] outputFileExtensions()
Description copied from interface: joelib.io.MoleculeFileType
Description of the Method


writeImage

public boolean writeImage(java.awt.Image image,
                          java.io.OutputStream os)
                   throws java.io.IOException