|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.imaging.fileformats.psd.ResourceBlock
com.aspose.imaging.fileformats.psd.resources.UnknownResource
public class UnknownResource
The unknown resource. When a resource block is not recognized then this resource block is created.
Constructor Summary | |
---|---|
UnknownResource(byte[] data)
Initializes a new instance of the UnknownResource class. |
Method Summary | |
---|---|
byte[] |
getData()
Gets the resource data. |
int |
getDataSize()
Gets the resource data size in bytes. |
int |
getMinimalVersion()
Gets the minimal required psd version. |
protected void |
saveData(StreamContainer streamContainer)
Saves the resource block data. |
Methods inherited from class com.aspose.imaging.fileformats.psd.ResourceBlock |
---|
getID, getName, getSignature, getSize, save, setID, setName, validateValues |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnknownResource(byte[] data)
Initializes a new instance of the UnknownResource
class.
data
- The resource data.Method Detail |
---|
public byte[] getData()
Gets the resource data.
Value: The resource data.
public int getDataSize()
Gets the resource data size in bytes.
Value: The resource data size.
getDataSize
in class ResourceBlock
public int getMinimalVersion()
Gets the minimal required psd version.
Value: The minimal psd version.
getMinimalVersion
in class ResourceBlock
protected void saveData(StreamContainer streamContainer)
Saves the resource block data.
saveData
in class ResourceBlock
streamContainer
- The stream container to save to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |