public class ImageCreatorsRegistry extends Object
Represents the image creators registry.
Constructor and Description |
---|
ImageCreatorsRegistry() |
Modifier and Type | Method and Description |
---|---|
static IImageCreator |
createFirstSupportedCreator(ImageOptionsBase imageOptions)
Creates the first found creator suitable for the specified.
|
static IImageCreatorDescriptor |
getFirstSupportedDescriptor(ImageOptionsBase imageOptions)
Gets the fist found supported descriptor suitable for the specified.
|
static IImageCreatorDescriptor[] |
getRegisteredDescriptors()
Gets the registered descriptors.
|
static long |
getRegisteredFormats()
Gets the registered image creation formats.
|
static void |
register(IImageCreatorDescriptor creatorDescriptor)
Registers the specified image creator descriptor.
|
static void |
registerCreator(IImageCreatorDescriptor creatorDescriptor)
Registers the creator.
|
static void |
unregisterCreator(IImageCreatorDescriptor creatorDescriptor)
Unregisters the creator.
|
public static long getRegisteredFormats()
Gets the registered image creation formats.
Value: The registered image creation formats.public static IImageCreatorDescriptor[] getRegisteredDescriptors()
Gets the registered descriptors.
Value: The registered descriptors.public static void register(IImageCreatorDescriptor creatorDescriptor)
Registers the specified image creator descriptor.
creatorDescriptor
- The image creator descriptor.public static IImageCreatorDescriptor getFirstSupportedDescriptor(ImageOptionsBase imageOptions)
Gets the fist found supported descriptor suitable for the specified.
imageOptions
- The image options.
The first creator descriptor will be actually the last registered.
public static IImageCreator createFirstSupportedCreator(ImageOptionsBase imageOptions)
Creates the first found creator suitable for the specified.
imageOptions
- The image options.
The first creator will be actually the last registered.
public static void registerCreator(IImageCreatorDescriptor creatorDescriptor)
Registers the creator.
creatorDescriptor
- The creator descriptor to register.public static void unregisterCreator(IImageCreatorDescriptor creatorDescriptor)
Unregisters the creator.
creatorDescriptor
- The creator descriptor.