public final class VersionInfoResource extends ResourceBlock
Version Info resource
ResourceBlock.ResourceBlockState
RESOUCE_BLOCK_SIGNATURE
Constructor and Description |
---|
VersionInfoResource()
Initializes a new instance of the
VersionInfoResource class. |
Modifier and Type | Method and Description |
---|---|
int |
getDataSize()
Gets the resource data size in bytes.
|
long |
getFileVersion()
Gets or sets the file version.
|
int |
getMinimalVersion()
Gets the minimal required PSD version.
|
String |
getReaderName()
Gets or sets the name of the reader.
|
long |
getVersion()
Gets or sets the version.
|
String |
getWriterName()
Gets or sets the name of the writer.
|
boolean |
hasRealMergedData()
Gets or sets a value indicating whether this instance has real merged data.
|
void |
setFileVersion(long value)
Gets or sets the file version.
|
void |
setReaderName(String value)
Gets or sets the name of the reader.
|
void |
setRealMergedData(boolean value)
Gets or sets a value indicating whether this instance has real merged data.
|
void |
setVersion(long value)
Gets or sets the version.
|
void |
setWriterName(String value)
Gets or sets the name of the writer.
|
getID, getName, getSignature, getSize, save, setID, setName, validateValues
public VersionInfoResource()
Initializes a new instance of the VersionInfoResource
class.
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
public long getVersion()
Gets or sets the version.
Value: The version.public void setVersion(long value)
Gets or sets the version.
Value: The version.public boolean hasRealMergedData()
Gets or sets a value indicating whether this instance has real merged data.
Value:true
if this instance has real merged data; otherwise, false
.public void setRealMergedData(boolean value)
Gets or sets a value indicating whether this instance has real merged data.
Value:true
if this instance has real merged data; otherwise, false
.public String getReaderName()
Gets or sets the name of the reader.
Value: The name of the reader.public void setReaderName(String value)
Gets or sets the name of the reader.
Value: The name of the reader.public String getWriterName()
Gets or sets the name of the writer.
Value: The name of the writer.public void setWriterName(String value)
Gets or sets the name of the writer.
Value: The name of the writer.public long getFileVersion()
Gets or sets the file version.
Value: The file version.public void setFileVersion(long value)
Gets or sets the file version.
Value: The file version.