Hi,
Why are all the attributes of ArArchiveEntry made non-mutable.
Here I refer to things like lastModified, mode etc.
They have no setters and if that wasn't bad enough they have been made
private and final.
My use case:
ArArchiveEntry ae = new ArArchiveEntry(inputFile, entryName);
ae.setLastModified(someTimeValue);
archiveOutputStream.putArchiveEntry(ae);
Now all I can do is copy the line from constructor
ArArchiveEntry ae = (entryName, inputFile.isFile() ? inputFile.length()
: 0, 0, 0, 0, someTimeValue);
- rami
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]