public interface ILayerResourceLoader
The layer resource loader.
Modifier and Type | Method and Description |
---|---|
boolean |
canLoad(StreamContainer streamContainer,
int psdVersion)
Determines whether layer resource can be loaded from the specified
StreamContainer . |
LayerResource |
load(StreamContainer streamContainer,
int psdVersion)
Loads the
LayerResource . |
boolean canLoad(StreamContainer streamContainer, int psdVersion)
Determines whether layer resource can be loaded from the specified StreamContainer
.
streamContainer
- The stream container.psdVersion
- The PSD version.true
if layer resource can be loaded from the specified StreamContainer
; otherwise, false
.LayerResource load(StreamContainer streamContainer, int psdVersion)
Loads the LayerResource
.
streamContainer
- The stream container to load from.psdVersion
- The PSD version.