public final class UnknownResource extends ResourceBlock
The unknown resource. When a resource block is not recognized then this resource block is created.
ResourceBlock.ResourceBlockState
RESOUCE_BLOCK_SIGNATURE
Constructor and Description |
---|
UnknownResource(byte[] data)
Initializes a new instance of the
UnknownResource class. |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Gets the resource data.
|
int |
getDataSize()
Gets the resource data size in bytes.
|
int |
getMinimalVersion()
Gets the minimal required psd version.
|
getID, getName, getSignature, getSize, save, setID, setName, validateValues
public UnknownResource(byte[] data)
Initializes a new instance of the UnknownResource
class.
data
- The resource data.public byte[] getData()
Gets 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