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

## org.apache.xmlgraphics.image.loader.impl
Class ImageLoaderFactoryEPS

    java.lang.Object
      org.apache.xmlgraphics.image.loader.impl.AbstractImageLoaderFactory
          org.apache.xmlgraphics.image.loader.impl.ImageLoaderFactoryEPS

All Implemented Interfaces:
  ImageLoaderFactory

    public class ImageLoaderFactoryEPS

extends AbstractImageLoaderFactory

Factory class for the ImageLoader for EPS (Encapsulated PostScript) images.

Constructor Summary
`ImageLoaderFactoryEPS()`

Method Summary
`ImageFlavor[]` | `getSupportedFlavors(String mime)` Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.
`String[]` | `getSupportedMIMETypes()` Returns an array of MIME types supported by this implementation.
`boolean` | `isAvailable()` Indicates whether the underlying libraries needed by the implementation are available.
`ImageLoader` | `newImageLoader(ImageFlavor targetFlavor)` Creates and returns a new ImageLoader instance.

Methods inherited from class org.apache.xmlgraphics.image.loader.impl.AbstractImageLoaderFactory
`getUsagePenalty, isSupported`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ImageLoaderFactoryEPS

    public ImageLoaderFactoryEPS()

Method Detail

### getSupportedMIMETypes

    public String[] getSupportedMIMETypes()

  Returns an array of MIME types supported by this implementation.

  Returns:
    the MIME type array

### getSupportedFlavors

    public ImageFlavor[] getSupportedFlavors(String mime)

  Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.

  Parameters:
    `mime` - the MIME type
  Returns:
    the ImageFlavor array

### newImageLoader

    public ImageLoader newImageLoader(ImageFlavor targetFlavor)

  Creates and returns a new ImageLoader instance.

  Parameters:
    `targetFlavor` - the target image flavor to produce
  Returns:
    a new ImageLoader instance

### isAvailable

    public boolean isAvailable()

  Indicates whether the underlying libraries needed by the implementation are available.

  Returns:
    true if the implementation is functional.

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

Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.