ImageCreatorsRegistry
Inheritance: java.lang.Object
public final class ImageCreatorsRegistry
Represents the image creators registry.
Methods
Method | Description |
---|---|
getRegisteredFormats() | Gets the registered image creation formats. |
getRegisteredDescriptors() | Gets the registered descriptors. |
register(IImageCreatorDescriptor creatorDescriptor) | Registers the specified image creator descriptor. |
getFirstSupportedDescriptor(ImageOptionsBase imageOptions) | Gets the fist found supported descriptor suitable for the specified. |
createFirstSupportedCreator(ImageOptionsBase imageOptions) | Creates the first found creator suitable for the specified. |
registerCreator(IImageCreatorDescriptor creatorDescriptor) | Registers the creator. |
unregisterCreator(IImageCreatorDescriptor creatorDescriptor) | Unregisters the creator. |
getRegisteredFormats()
public static long getRegisteredFormats()
Gets the registered image creation formats.
Value: The registered image creation formats.
Returns: long
getRegisteredDescriptors()
public static IImageCreatorDescriptor[] getRegisteredDescriptors()
Gets the registered descriptors.
Value: The registered descriptors.
Returns: com.aspose.imaging.IImageCreatorDescriptor[]
register(IImageCreatorDescriptor creatorDescriptor)
public static void register(IImageCreatorDescriptor creatorDescriptor)
Registers the specified image creator descriptor.
Parameters:
Parameter | Type | Description |
---|---|---|
creatorDescriptor | IImageCreatorDescriptor | The image creator descriptor. |
getFirstSupportedDescriptor(ImageOptionsBase imageOptions)
public static IImageCreatorDescriptor getFirstSupportedDescriptor(ImageOptionsBase imageOptions)
Gets the fist found supported descriptor suitable for the specified.
Parameters:
Parameter | Type | Description |
---|---|---|
imageOptions | ImageOptionsBase | The image options. |
The first creator descriptor will be actually the last registered. |
Returns: IImageCreatorDescriptor - The creator descriptor which supports the specified or null if no such descriptor is found.
createFirstSupportedCreator(ImageOptionsBase imageOptions)
public static IImageCreator createFirstSupportedCreator(ImageOptionsBase imageOptions)
Creates the first found creator suitable for the specified.
Parameters:
Parameter | Type | Description |
---|---|---|
imageOptions | ImageOptionsBase | The image options. |
The first creator will be actually the last registered. |
Returns: IImageCreator - The creator which supports the specified or null if no such creator is found.
registerCreator(IImageCreatorDescriptor creatorDescriptor)
public static void registerCreator(IImageCreatorDescriptor creatorDescriptor)
Registers the creator.
Parameters:
Parameter | Type | Description |
---|---|---|
creatorDescriptor | IImageCreatorDescriptor | The creator descriptor to register. |
unregisterCreator(IImageCreatorDescriptor creatorDescriptor)
public static void unregisterCreator(IImageCreatorDescriptor creatorDescriptor)
Unregisters the creator.
Parameters:
Parameter | Type | Description |
---|---|---|
creatorDescriptor | IImageCreatorDescriptor | The creator descriptor. |