commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Meyer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COMPRESS-207) add notifier support for new block in BZip2CompressorInputStream
Date Sat, 08 Dec 2012 13:11:20 GMT

     [ https://issues.apache.org/jira/browse/COMPRESS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Meyer updated COMPRESS-207:
----------------------------------

    Description: 
hi,

attached patch enables an program to add a listener when a new bzip2
block is detected.

The notifier is called with:
 - xxx.newBlock(this, currBlockPosition)

- this = the current BZip2CompressorInputStream object
- currBlockPosition = The offset (i.e. start position) in the compressed
input stream of the current block


  was:
hi,

attached patch enables an program to add a listener when a new bzip2
block is detected.

The notifier is called with:
 - xxx.newBlock(this, currBlockNo, currBlockPosition)

- this = the current BZip2CompressorInputStream object
- currBlockNo = The current block number, increased for each block
- currBlockPosition = The offset (i.e. start position) in the compressed
input stream of the current block


    
> add notifier support for new block in BZip2CompressorInputStream
> ----------------------------------------------------------------
>
>                 Key: COMPRESS-207
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-207
>             Project: Commons Compress
>          Issue Type: New Feature
>          Components: Compressors
>    Affects Versions: 1.4.1
>            Reporter: Thomas Meyer
>            Priority: Minor
>         Attachments: BZip2CompressorInputStream-add-newBlock-notifier.patch, BZip2CompressorInputStream-add-newBlock-notifier.patch
>
>
> hi,
> attached patch enables an program to add a listener when a new bzip2
> block is detected.
> The notifier is called with:
>  - xxx.newBlock(this, currBlockPosition)
> - this = the current BZip2CompressorInputStream object
> - currBlockPosition = The offset (i.e. start position) in the compressed
> input stream of the current block

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message