commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Swank (JIRA)" <>
Subject [jira] [Updated] (IO-425) Setter method for ThresholdingOutputStream
Date Tue, 04 Feb 2014 19:52:12 GMT


Craig Swank updated IO-425:

    Attachment: thresholdingbytecountsetter.patch

> Setter method for ThresholdingOutputStream
> ------------------------------------------
>                 Key: IO-425
>                 URL:
>             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

View raw message