public final class FileParams extends Object
Defines an embedded file parameter dictionary that shall contain additional file-specific information.
Constructor and Description |
---|
FileParams(FileSpecification spec)
Constructor for FileParams class.
|
Modifier and Type | Method and Description |
---|---|
String |
getCheckSum()
A 16-byte string that is the checksum of the bytes of the uncompressed embedded file.
|
Date |
getCreationDate()
Get the date and time when the embedded file was created.
|
Date |
getModDate()
Get the date and time when the embedded file was last modified.
|
int |
getSize()
The size of the uncompressed embedded file, in bytes.
|
void |
setCreationDate(Date value)
Set the date and time when the embedded file was created.
|
void |
setModDate(Date value)
Set the date and time when the embedded file was last modified.
|
public FileParams(FileSpecification spec)
Constructor for FileParams class.
spec
- File specification.public int getSize()
The size of the uncompressed embedded file, in bytes.
public Date getCreationDate()
Get the date and time when the embedded file was created.
public void setCreationDate(Date value)
Set the date and time when the embedded file was created.
value
- Date objectpublic Date getModDate()
Get the date and time when the embedded file was last modified.
public void setModDate(Date value)
Set the date and time when the embedded file was last modified.
value
- Date objectpublic String getCheckSum()
A 16-byte string that is the checksum of the bytes of the uncompressed embedded file. The checksum is calculated by applying the standard MD5 message-digest algorithm to the bytes of the embedded file stream.