Top Fields Constructors Methods
com.sun.javafx.iio.png

public Class PNGImageLoaderFactory

extends Object
implements ImageLoaderFactory
Class Inheritance
All Implemented Interfaces
com.sun.javafx.iio.ImageLoaderFactory
Imports
com.sun.javafx.iio.ImageFormatDescription, .ImageLoader, .ImageLoaderFactory, java.io.IOException, .InputStream

Field Summary

Modifier and TypeField and Description
private static final PNGImageLoaderFactory

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public ImageLoader
createImageLoader(InputStream input)

Implements com.sun.javafx.iio.ImageLoaderFactory.createImageLoader.

Creates a loader for the specified stream.

public ImageFormatDescription
getFormatDescription()

Implements com.sun.javafx.iio.ImageLoaderFactory.getFormatDescription.

Gets a description of the image format for which this factory can create loaders.

public static final ImageLoaderFactory
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

theInstanceback to summary
private static final PNGImageLoaderFactory theInstance

Constructor Detail

PNGImageLoaderFactoryback to summary
private PNGImageLoaderFactory()

Method Detail

createImageLoaderback to summary
public ImageLoader createImageLoader(InputStream input) throws IOException

Implements com.sun.javafx.iio.ImageLoaderFactory.createImageLoader.

Doc from com.sun.javafx.iio.ImageLoaderFactory.createImageLoader.

Creates a loader for the specified stream. This stream must contain a sequence of bytes stored in the format handled by this factory, and must be positioned at the first byte of the signature for this format.

Annotations
@Override
Exceptions
IOException:
if there is an error creating the loader.
getFormatDescriptionback to summary
public ImageFormatDescription getFormatDescription()

Implements com.sun.javafx.iio.ImageLoaderFactory.getFormatDescription.

Doc from com.sun.javafx.iio.ImageLoaderFactory.getFormatDescription.

Gets a description of the image format for which this factory can create loaders.

Annotations
@Override
getInstanceback to summary
public static final ImageLoaderFactory getInstance()