ImageExportersRegistry
Inheritance: java.lang.Object
public final class ImageExportersRegistry
Represents the image exporters registry.
Constructors
Constructor | Description |
---|---|
ImageExportersRegistry() |
Methods
Method | Description |
---|---|
createFirstSupportedExporter(Image image, ImageOptionsBase options) | Creates the first found exporter suitable for the specified save options and image. |
equals(Object arg0) | |
getClass() | |
getFirstSupportedDescriptor(Image image, ImageOptionsBase options) | Gets the fist found supported descriptor suitable for the specified save options and image. |
getRegisteredExporterDescriptors() | Gets the registered exporter descriptors. |
getRegisteredFormats() | Gets the registered export formats. |
hashCode() | |
notify() | |
notifyAll() | |
register(IImageExporterDescriptor imageExporterDescriptor) | Registers the specified image exporter descriptor. |
registerExporter(IImageExporterDescriptor exporterDescriptor) | Registers the exporter. |
toString() | |
unregisterExporter(IImageExporterDescriptor exporterDescriptor) | Unregisters the exporter. |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
ImageExportersRegistry()
public ImageExportersRegistry()
createFirstSupportedExporter(Image image, ImageOptionsBase options)
public static IImageExporter createFirstSupportedExporter(Image image, ImageOptionsBase options)
Creates the first found exporter suitable for the specified save options and image.
Parameters:
Parameter | Type | Description |
---|---|---|
image | Image | The image to export. |
options | ImageOptionsBase | The save options to use for export. |
The first exporter will be actually the last registered. |
Returns: IImageExporter - The exporter which supports the specified image and save options or null if no such exporter is found.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getFirstSupportedDescriptor(Image image, ImageOptionsBase options)
public static IImageExporterDescriptor getFirstSupportedDescriptor(Image image, ImageOptionsBase options)
Gets the fist found supported descriptor suitable for the specified save options and image.
Parameters:
Parameter | Type | Description |
---|---|---|
image | Image | The image to export. |
options | ImageOptionsBase | The options. |
The first exporter descriptor will be actually the last registered. |
Returns: IImageExporterDescriptor - The exporter descriptor which supports the specified image and save options or null if no such descriptor is found.
getRegisteredExporterDescriptors()
public static IImageExporterDescriptor[] getRegisteredExporterDescriptors()
Gets the registered exporter descriptors.
Value: The registered exporter descriptors.
Returns: com.aspose.psd.IImageExporterDescriptor[]
getRegisteredFormats()
public static long getRegisteredFormats()
Gets the registered export formats.
Value: The registered export formats.
Returns: long
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
register(IImageExporterDescriptor imageExporterDescriptor)
public static void register(IImageExporterDescriptor imageExporterDescriptor)
Registers the specified image exporter descriptor.
Parameters:
Parameter | Type | Description |
---|---|---|
imageExporterDescriptor | IImageExporterDescriptor | The image exporter descriptor. |
registerExporter(IImageExporterDescriptor exporterDescriptor)
public static void registerExporter(IImageExporterDescriptor exporterDescriptor)
Registers the exporter.
Parameters:
Parameter | Type | Description |
---|---|---|
exporterDescriptor | IImageExporterDescriptor | The exporter descriptor to register. |
toString()
public String toString()
Returns: java.lang.String
unregisterExporter(IImageExporterDescriptor exporterDescriptor)
public static void unregisterExporter(IImageExporterDescriptor exporterDescriptor)
Unregisters the exporter.
Parameters:
Parameter | Type | Description |
---|---|---|
exporterDescriptor | IImageExporterDescriptor | The exporter descriptor to unregister. |
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |