[
https://issues.apache.org/jira/browse/IO-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Craig Swank updated IO-425:
---------------------------
Attachment: thresholdingbytecountsetter.patch
> Setter method for ThresholdingOutputStream
> ------------------------------------------
>
> Key: IO-425
> URL: https://issues.apache.org/jira/browse/IO-425
> Project: Commons IO
> Issue Type: New Feature
> Reporter: Craig Swank
> Attachments: thresholdingbytecountsetter.patch
>
>
> We have a class that uses ThresholdingOutputStream as its super class. Our
> class writes to files on the file system and switches to a new file when a
> size threshold has been reached. If our system restarts we would like to be
> able to continue writing to the last file, but for this to work we have to be
> able to set the private var written in ThresholdingOutputStream. This patch
> adds a protected setter method so written can be set to match the file size.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)