OSTypeStructuresRegistry
Inheritance: java.lang.Object
public final class OSTypeStructuresRegistry
Represents the OSTypeStructure resources registry.
Constructors
Constructor | Description |
---|---|
OSTypeStructuresRegistry() |
Methods
OSTypeStructuresRegistry()
public OSTypeStructuresRegistry()
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | The 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:
Parameter | Type | Description |
---|---|---|
descriptorTypeName | java.lang.String | The 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:
Parameter | Type | Description |
---|---|---|
stream | com.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:
Parameter | Type | Description |
---|---|---|
structureKey | int | StructureKey of OSTypeStructure. |
Returns: boolean -
loadDescriptorData_internalized(StreamContainer streamContainer)
public static OSTypeStructure[] loadDescriptorData_internalized(StreamContainer streamContainer)
Loads the descriptor data structures from stream container.
Parameters:
Parameter | Type | Description |
---|---|---|
streamContainer | StreamContainer | The 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:
Parameter | Type | Description |
---|---|---|
streamContainer | StreamContainer | The stream to read of. |
className | java.lang.String[] | The read class name. |
classId | ClassID[] | 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:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | The 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:
Parameter | Type | Description |
---|---|---|
stream | com.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:
Parameter | Type | Description |
---|---|---|
openerDescriptor | IOSTypeStructureLoader | The 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:
Parameter | Type | Description |
---|---|---|
openerDescriptor | IOSTypeStructureLoader | The opener descriptor to unregister. |
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |