Craig Swank created IO-425:
------------------------------

             Summary: 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)

Reply via email to