com.aspose.imaging
Class ImageCreatorsRegistry

java.lang.Object
  extended by com.aspose.imaging.ImageCreatorsRegistry

public class ImageCreatorsRegistry
extends java.lang.Object

Represents the image creators registry.


Constructor Summary
ImageCreatorsRegistry()
           
 
Method Summary
static IImageCreator createFirstSupportedCreator(ImageCreateOptions imageCreateOptions)
           Creates the first found creator suitable for the specified imageCreateOptions.
static IImageCreatorDescriptor getFirstSupportedDescriptor(ImageCreateOptions imageCreateOptions)
           Gets the fist found supported descriptor suitable for the specified imageCreateOptions.
static IImageCreatorDescriptor[] getRegisteredDescriptors()
           Gets the registered descriptors.
static long getRegisteredFormats()
           Gets the registered image creation formats.
static void registerCreator(IImageCreatorDescriptor creatorDescriptor)
           Registers the creator.
static void unregisterCreator(IImageCreatorDescriptor creatorDescriptor)
           Unregisters the creator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageCreatorsRegistry

public ImageCreatorsRegistry()
Method Detail

createFirstSupportedCreator

public static IImageCreator createFirstSupportedCreator(ImageCreateOptions imageCreateOptions)

Creates the first found creator suitable for the specified imageCreateOptions.

Parameters:
imageCreateOptions - The image create options.


The first creator will be actually the last registered.

Returns:
The creator which supports the specified imageCreateOptions or null if no such creator is found.

getFirstSupportedDescriptor

public static IImageCreatorDescriptor getFirstSupportedDescriptor(ImageCreateOptions imageCreateOptions)

Gets the fist found supported descriptor suitable for the specified imageCreateOptions.

Parameters:
imageCreateOptions - The image create options.


The first creator descriptor will be actually the last registered.

Returns:
The creator descriptor which supports the specified imageCreateOptions or null if no such descriptor is found.

getRegisteredDescriptors

public static IImageCreatorDescriptor[] getRegisteredDescriptors()

Gets the registered descriptors.

Value: The registered descriptors.


getRegisteredFormats

public static long getRegisteredFormats()

Gets the registered image creation formats.

Value: The registered image creation formats.


registerCreator

public static void registerCreator(IImageCreatorDescriptor creatorDescriptor)

Registers the creator.

Parameters:
creatorDescriptor - The creator descriptor to register.

unregisterCreator

public static void unregisterCreator(IImageCreatorDescriptor creatorDescriptor)

Unregisters the creator.

Parameters:
creatorDescriptor - The creator descriptor.