GifBlocksRegistry
Inheritance: java.lang.Object
public final class GifBlocksRegistry
Gif blok açıcıları kaydını temsil eder.
Yöntemler
| Yöntem | Açıklama |
|---|---|
| getRegisteredDescriptors() | Kayıtlı tanımlayıcıları alır. |
| getFirstSupportedDescriptorByTypeName(String descriptorTypeName) | Tür adıyla ilk desteklenen tanımlayıcıyı alır. |
| getFirstSupportedDescriptor(InputStream stream) | |
| loadBlockByFirstSupportedDescriptor(InputStream stream, IColorPalette containerPalette) | |
| registerOpener(IGifBlockLoaderDescriptor openerDescriptor) | Açıcıyı kaydeder. |
| unregisterOpener(IGifBlockLoaderDescriptor openerDescriptor) | Açıcı kaydını siler. |
getRegisteredDescriptors()
public static IGifBlockLoaderDescriptor[] getRegisteredDescriptors()
Kayıtlı tanımlayıcıları alır.
Değer: Kayıtlı tanımlayıcılar.
Returns: com.aspose.imaging.fileformats.gif.IGifBlockLoaderDescriptor[]
getFirstSupportedDescriptorByTypeName(String descriptorTypeName)
public static IGifBlockLoaderDescriptor getFirstSupportedDescriptorByTypeName(String descriptorTypeName)
Tür adıyla ilk desteklenen tanımlayıcıyı alır.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| descriptorTypeName | java.lang.String |
İlk açıcı tanımlayıcısı aslında son kaydedilen olacaktır. |
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:
| Parametre | Tür | Açıklama |
|---|---|---|
| akış | java.io.InputStream |
Returns: IGifBlockLoaderDescriptor
loadBlockByFirstSupportedDescriptor(InputStream stream, IColorPalette containerPalette)
public static IGifBlock loadBlockByFirstSupportedDescriptor(InputStream stream, IColorPalette containerPalette)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| akış | java.io.InputStream | |
| containerPalette | IColorPalette |
Returns: IGifBlock
registerOpener(IGifBlockLoaderDescriptor openerDescriptor)
public static void registerOpener(IGifBlockLoaderDescriptor openerDescriptor)
Açıcıyı kaydeder.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| openerDescriptor | IGifBlockLoaderDescriptor | Kaydedilecek açıcı tanımlayıcısı. |
unregisterOpener(IGifBlockLoaderDescriptor openerDescriptor)
public static void unregisterOpener(IGifBlockLoaderDescriptor openerDescriptor)
Açıcı kaydını siler.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| openerDescriptor | IGifBlockLoaderDescriptor | Kaydı silinecek açıcı tanımlayıcısı. |