[compress] add notifier support for new block in BZip2CompressorInputStream

2012-10-29 Thread Thomas Meyer
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

Re: [compress] add notifier support for new block in BZip2CompressorInputStream

2012-10-29 Thread Gary Gregory
Thomas, Please create a JIRA and describe and attach the patch there, with a unit test if possible. Thank you, Gary On Mon, Oct 29, 2012 at 1:02 PM, Thomas Meyer tho...@m3y3r.de wrote: Hi, attached patch enables an program to add a listener when a new bzip2 block is detected. The