Top Description Fields Constructors Methods
com.sun.javafx.iio.ios

public Class IosImageLoaderFactory

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

A factory which creates a loader for images on iOS platform.

Field Summary

Modifier and TypeField and Description
private static IosImageLoaderFactory

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

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

Creates a loader for the specified stream.

public ImageLoader

Returns:

a loader capable of loading and decoding an image from the supplied URL.
createImageLoader
(final String
a URL containing an image in the supported format.
input
)

Creates a loader for the specified input URL.

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 synchronized IosImageLoaderFactory

Returns:

an instance of IosImageLoaderFactory
getInstance
()

Returns an instance of IosImageLoaderFactory

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

theInstanceback to summary
private static IosImageLoaderFactory theInstance

Constructor Detail

IosImageLoaderFactoryback to summary
private IosImageLoaderFactory()

Method Detail

createImageLoaderback to summary
public ImageLoader createImageLoader(final 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.
createImageLoaderback to summary
public ImageLoader createImageLoader(final String input) throws IOException

Creates a loader for the specified input URL.

Parameters
input:String

a URL containing an image in the supported format.

Returns:ImageLoader

a loader capable of loading and decoding an image from the supplied URL.

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 synchronized IosImageLoaderFactory getInstance()

Returns an instance of IosImageLoaderFactory

Returns:IosImageLoaderFactory

an instance of IosImageLoaderFactory