Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## echopointng.image
Interface ImageEncoder

All Superinterfaces:
  java.io.Serializable

All Known Implementing Classes:
  GifEncoder, PngEncoder

    public interface ImageEncoder

extends java.io.Serializable

The `ImageEncoder` interface specifies an object that can encode image data to an output stream. It also indicates what MIME content type is encoded.

An implementation of this class should provide a public constructor with no arguments, so that the encoder can be serialized.

Method Summary
`void` | `encode(java.awt.Image image, java.io.OutputStream out)`
`java.lang.String` | `getContentType()`

Method Detail

### encode

    void encode(java.awt.Image image,
                java.io.OutputStream out)
                throws java.io.IOException

  Throws:
    `java.io.IOException`

### getContentType

    java.lang.String getContentType()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD