OSTypeStructuresRegistry

Inheritance: java.lang.Object

public final class OSTypeStructuresRegistry

Represents the OSTypeStructure resources registry.

Constructors

ConstructorDescription
OSTypeStructuresRegistry()

Methods

MethodDescription
equals(Object arg0)
getClass()
getFirstSupportedDescriptor(InputStream stream)Gets the first supported opener descriptor.
getFirstSupportedDescriptorByTypeName(String descriptorTypeName)Gets the first supported descriptor by its type name.
getFirstSupportedDescriptor_internalized(System.IO.Stream stream)
getRegisteredDescriptors()Gets the registered descriptors.
hashCode()
isOSTypeStructreExist_internalized(int structureKey)Detects if any OSTypeStructure’s descendant present with provided structureKey.
loadDescriptorData_internalized(StreamContainer streamContainer)Loads the descriptor data structures from stream container.
loadDescriptorData_internalized(StreamContainer streamContainer, String[] className, ClassID[] classId)Loads the descriptor data structures with class name and class id from stream container.
loadResourceByFirstSupportedDescriptor(InputStream stream)Loads OSTypeStructure using first found opener suitable for the specified stream .
loadResourceByFirstSupportedDescriptor_internalized(System.IO.Stream stream)
notify()
notifyAll()
registerOpener(IOSTypeStructureLoader openerDescriptor)Registers the opener.
toString()
unregisterOpener(IOSTypeStructureLoader openerDescriptor)Unregisters the opener.
wait()
wait(long arg0)
wait(long arg0, int arg1)

OSTypeStructuresRegistry()

public OSTypeStructuresRegistry()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFirstSupportedDescriptor(InputStream stream)

public static IOSTypeStructureLoader getFirstSupportedDescriptor(InputStream stream)

Gets the first supported opener descriptor.

Parameters:

ParameterTypeDescription
streamjava.io.InputStreamThe stream.

The first loader will be actually the last registered. |

Returns: IOSTypeStructureLoader - The layer resource loader descriptor or null if no loader descriptor supported for such stream.

getFirstSupportedDescriptorByTypeName(String descriptorTypeName)

public static IOSTypeStructureLoader getFirstSupportedDescriptorByTypeName(String descriptorTypeName)

Gets the first supported descriptor by its type name.

Parameters:

ParameterTypeDescription
descriptorTypeNamejava.lang.StringThe descriptor type name.

The first opener descriptor will be actually the last registered. |

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

getFirstSupportedDescriptor_internalized(System.IO.Stream stream)

public static IOSTypeStructureLoader getFirstSupportedDescriptor_internalized(System.IO.Stream stream)

Parameters:

ParameterTypeDescription
streamcom.aspose.ms.System.IO.Stream

Returns: IOSTypeStructureLoader

getRegisteredDescriptors()

public static IOSTypeStructureLoader[] getRegisteredDescriptors()

Gets the registered descriptors.

Value: The registered descriptors.

Returns: com.aspose.psd.fileformats.psd.layers.layerresources.IOSTypeStructureLoader[]

hashCode()

public native int hashCode()

Returns: int

isOSTypeStructreExist_internalized(int structureKey)

public static boolean isOSTypeStructreExist_internalized(int structureKey)

Detects if any OSTypeStructure’s descendant present with provided structureKey.

Parameters:

ParameterTypeDescription
structureKeyintStructureKey of OSTypeStructure.

Returns: boolean -

loadDescriptorData_internalized(StreamContainer streamContainer)

public static OSTypeStructure[] loadDescriptorData_internalized(StreamContainer streamContainer)

Loads the descriptor data structures from stream container.

Parameters:

ParameterTypeDescription
streamContainerStreamContainerThe stream to read of.

Returns: com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure[] - The descriptor data structures.

loadDescriptorData_internalized(StreamContainer streamContainer, String[] className, ClassID[] classId)

public static OSTypeStructure[] loadDescriptorData_internalized(StreamContainer streamContainer, String[] className, ClassID[] classId)

Loads the descriptor data structures with class name and class id from stream container.

Parameters:

ParameterTypeDescription
streamContainerStreamContainerThe stream to read of.
classNamejava.lang.String[]The read class name.
classIdClassID[]The read class id.

Returns: com.aspose.psd.fileformats.psd.layers.layerresources.OSTypeStructure[] - The descriptor data structures with class name and class id.

loadResourceByFirstSupportedDescriptor(InputStream stream)

public static OSTypeStructure loadResourceByFirstSupportedDescriptor(InputStream stream)

Loads OSTypeStructure using first found opener suitable for the specified stream .

Parameters:

ParameterTypeDescription
streamjava.io.InputStreamThe stream.

The first opener will be actually the last registered. |

Returns: OSTypeStructure - The loaded LayerResource or null if no opener is found.

loadResourceByFirstSupportedDescriptor_internalized(System.IO.Stream stream)

public static OSTypeStructure loadResourceByFirstSupportedDescriptor_internalized(System.IO.Stream stream)

Parameters:

ParameterTypeDescription
streamcom.aspose.ms.System.IO.Stream

Returns: OSTypeStructure

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

registerOpener(IOSTypeStructureLoader openerDescriptor)

public static void registerOpener(IOSTypeStructureLoader openerDescriptor)

Registers the opener.

Parameters:

ParameterTypeDescription
openerDescriptorIOSTypeStructureLoaderThe opener descriptor to register.

toString()

public String toString()

Returns: java.lang.String

unregisterOpener(IOSTypeStructureLoader openerDescriptor)

public static void unregisterOpener(IOSTypeStructureLoader openerDescriptor)

Unregisters the opener.

Parameters:

ParameterTypeDescription
openerDescriptorIOSTypeStructureLoaderThe opener descriptor to unregister.

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int