|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aspose.imaging.fileformats.gif.GifBlocksRegistry
public class GifBlocksRegistry
Represents the gif blocks openers registry.
| Constructor Summary | |
|---|---|
GifBlocksRegistry()
|
|
| Method Summary | |
|---|---|
static IGifBlockLoaderDescriptor |
getFirstSupportedDescriptor(java.io.InputStream stream)
|
static IGifBlockLoaderDescriptor |
getFirstSupportedDescriptorByTypeName(java.lang.String descriptorTypeName)
Gets the first supported descriptor by its type name. |
static IGifBlockLoaderDescriptor[] |
getRegisteredDescriptors()
Gets the registered descriptors. |
static IGifBlock |
loadBlockByFirstSupportedDescriptor(java.io.InputStream stream)
Loads gif block using first found opener suitable for the specified InputStream. |
static void |
registerOpener(IGifBlockLoaderDescriptor openerDescriptor)
Registers the opener. |
static void |
unregisterOpener(IGifBlockLoaderDescriptor openerDescriptor)
Unregisters the opener. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GifBlocksRegistry()
| Method Detail |
|---|
public static IGifBlockLoaderDescriptor getFirstSupportedDescriptor(java.io.InputStream stream)
public static IGifBlockLoaderDescriptor getFirstSupportedDescriptorByTypeName(java.lang.String descriptorTypeName)
Gets the first supported descriptor by its type name.
descriptorTypeName - The descriptor type name.
public static IGifBlockLoaderDescriptor[] getRegisteredDescriptors()
Gets the registered descriptors.
Value: The registered descriptors.
public static IGifBlock loadBlockByFirstSupportedDescriptor(java.io.InputStream stream)
Loads gif block using first found opener suitable for the specified InputStream.
public static void registerOpener(IGifBlockLoaderDescriptor openerDescriptor)
Registers the opener.
openerDescriptor - The opener descriptor to register.public static void unregisterOpener(IGifBlockLoaderDescriptor openerDescriptor)
Unregisters the opener.
openerDescriptor - The opener descriptor to unregister.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||