LayerResourcesRegistry
Inheritance: java.lang.Object
public final class LayerResourcesRegistry
Represents the layer resources registry.
Constructors
Constructor | Description |
---|---|
LayerResourcesRegistry() |
Methods
LayerResourcesRegistry()
public LayerResourcesRegistry()
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, int psdVersion)
public static ILayerResourceLoader getFirstSupportedDescriptor(InputStream stream, int psdVersion)
Gets the first supported opener descriptor.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | The stream. |
psdVersion | int | The PSD version. |
The first loader will be actually the last registered. |
Returns: ILayerResourceLoader - The layer resource loader descriptor or null if no loader descriptor supported for such stream.
getFirstSupportedDescriptorByTypeName(String descriptorTypeName)
public static ILayerResourceLoader 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: ILayerResourceLoader - The first found opener descriptor or null if not such descriptor is found.
getFirstSupportedDescriptor_internalized(System.IO.Stream stream, int psdVersion)
public static ILayerResourceLoader getFirstSupportedDescriptor_internalized(System.IO.Stream stream, int psdVersion)
Parameters:
Parameter | Type | Description |
---|---|---|
stream | com.aspose.ms.System.IO.Stream | |
psdVersion | int |
Returns: ILayerResourceLoader
getRegisteredDescriptors()
public static ILayerResourceLoader[] getRegisteredDescriptors()
Gets the registered descriptors.
Value: The registered descriptors.
Returns: com.aspose.psd.fileformats.psd.layers.ILayerResourceLoader[]
hashCode()
public native int hashCode()
Returns: int
loadResourceByFirstSupportedDescriptor(InputStream stream, int psdVersion)
public static LayerResource loadResourceByFirstSupportedDescriptor(InputStream stream, int psdVersion)
Loads LayerResource using first found opener suitable for the specified stream .
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | The stream. |
psdVersion | int | The PSD version. |
The first opener will be actually the last registered. |
Returns: LayerResource - The loaded LayerResource or null if no opener is found.
loadResourceByFirstSupportedDescriptor_internalized(System.IO.Stream stream, int psdVersion)
public static LayerResource loadResourceByFirstSupportedDescriptor_internalized(System.IO.Stream stream, int psdVersion)
Parameters:
Parameter | Type | Description |
---|---|---|
stream | com.aspose.ms.System.IO.Stream | |
psdVersion | int |
Returns: LayerResource
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
registerDefaultPsdOptions_internalized()
public static void registerDefaultPsdOptions_internalized()
Registers the default PSD options.
registerOpener(ILayerResourceLoader openerDescriptor)
public static void registerOpener(ILayerResourceLoader openerDescriptor)
Registers the opener.
Parameters:
Parameter | Type | Description |
---|---|---|
openerDescriptor | ILayerResourceLoader | The opener descriptor to register. |
registerPsdLoadOptions_internalized(PsdLoadOptions load)
public static void registerPsdLoadOptions_internalized(PsdLoadOptions load)
Registers the PSD load options.
Parameters:
Parameter | Type | Description |
---|---|---|
load | PsdLoadOptions | The load. |
toString()
public String toString()
Returns: java.lang.String
unregisterOpener(ILayerResourceLoader openerDescriptor)
public static void unregisterOpener(ILayerResourceLoader openerDescriptor)
Unregisters the opener.
Parameters:
Parameter | Type | Description |
---|---|---|
openerDescriptor | ILayerResourceLoader | 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 |