GifBlocksRegistry

Inheritance: java.lang.Object

public final class GifBlocksRegistry

يمثل سجل مُفتحات كتل gif.

الطرق

طريقةالوصف
getRegisteredDescriptors()يحصل على الوصفيات المسجلة.
getFirstSupportedDescriptorByTypeName(String descriptorTypeName)يحصل على أول وصيفة مدعومة باسم نوعها.
getFirstSupportedDescriptor(InputStream stream)
loadBlockByFirstSupportedDescriptor(InputStream stream, IColorPalette containerPalette)
registerOpener(IGifBlockLoaderDescriptor openerDescriptor)يسجّل الفاتح.
unregisterOpener(IGifBlockLoaderDescriptor openerDescriptor)يلغي تسجيل الفاتح.

getRegisteredDescriptors()

public static IGifBlockLoaderDescriptor[] getRegisteredDescriptors()

يحصل على الوصفيات المسجلة.

القيمة: الوصفيات المسجلة.

Returns: com.aspose.imaging.fileformats.gif.IGifBlockLoaderDescriptor[]

getFirstSupportedDescriptorByTypeName(String descriptorTypeName)

public static IGifBlockLoaderDescriptor getFirstSupportedDescriptorByTypeName(String descriptorTypeName)

يحصل على أول وصيفة مدعومة باسم نوعها.

Parameters:

معاملنوعالوصف
descriptorTypeNamejava.lang.String

المُوصِف الأول للفاتح سيكون في الواقع الأخير المسجَّل. |

Returns: IGifBlockLoaderDescriptor - The first found opener descriptor or null if not such descriptor is found.

getFirstSupportedDescriptor(InputStream stream)

public static IGifBlockLoaderDescriptor getFirstSupportedDescriptor(InputStream stream)

Parameters:

معاملنوعالوصف
التدفقjava.io.InputStream

Returns: IGifBlockLoaderDescriptor

loadBlockByFirstSupportedDescriptor(InputStream stream, IColorPalette containerPalette)

public static IGifBlock loadBlockByFirstSupportedDescriptor(InputStream stream, IColorPalette containerPalette)

Parameters:

معاملنوعالوصف
التدفقjava.io.InputStream
containerPaletteIColorPalette

Returns: IGifBlock

registerOpener(IGifBlockLoaderDescriptor openerDescriptor)

public static void registerOpener(IGifBlockLoaderDescriptor openerDescriptor)

يسجّل الفاتح.

Parameters:

معاملنوعالوصف
openerDescriptorIGifBlockLoaderDescriptorالمُوصِف الفاتح لتسجيله.

unregisterOpener(IGifBlockLoaderDescriptor openerDescriptor)

public static void unregisterOpener(IGifBlockLoaderDescriptor openerDescriptor)

يلغي تسجيل الفاتح.

Parameters:

معاملنوعالوصف
openerDescriptorIGifBlockLoaderDescriptorالمُوصِف الفاتح لإلغاء تسجيله.