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وصف الفتح لإلغاء التسجيل.