You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Monsur Hossain <mo...@monsur.com> on 2005/05/04 07:00:16 UTC
java.util.zip (was Questions about DeleteFile method)
> All: Speaking of my port work for 1.9 RC1, I don't have a
> clear idea what to do about java.util.zip. There is no
> equivalent in .NET and it is being used in Lucene 1.9 RC1 for
> Index.FieldsWriter and Index.FieldsReader. Any suggestion?
>
George, what about SharpZipLib:
http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx
It's a third-party project, but its written in C# and is under GPL.
Hmm, but upon first look I don't see a direct analog to the
Inflater/Deflater methods.
Monsur
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
RE: java.util.zip (was Questions about DeleteFile method)
Posted by George Aroush <ge...@aroush.net>.
Hi,
I am not too excited about using SharpZipLib -- if I use it, unlike now,
DotLucene will end up with a 3rd party dependency thus, the port can't be
used out of the box. I know, I might not have a better alternative.
Regards,
-- George Aroush
-----Original Message-----
From: Pasha Bizhan [mailto:fckdp@ok.ru]
Sent: Wednesday, May 04, 2005 1:22 AM
To: java-dev@lucene.apache.org
Subject: Re: java.util.zip (was Questions about DeleteFile method)
Hi,
"Monsur Hossain" <mo...@monsur.com> wrote:
> Hmm, but upon first look I don't see a direct analog to the
>Inflater/Deflater methods.
using ICSharpCode.SharpZipLib.Zip;
using ICSharpCode.SharpZipLib.Zip.Compression;
// Create the compressor with highest level of compression
Deflater compressor = new Deflater();
compressor.SetLevel(Deflater.BEST_COMPRESSION);
and etc
Pasha Bizhan
http://lucenedotnet.com
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: java.util.zip (was Questions about DeleteFile method)
Posted by Pasha Bizhan <fc...@ok.ru>.
Hi,
"Monsur Hossain" <mo...@monsur.com> wrote:
> Hmm, but upon first look I don't see a direct analog to
>the Inflater/Deflater methods.
using ICSharpCode.SharpZipLib.Zip;
using ICSharpCode.SharpZipLib.Zip.Compression;
// Create the compressor with highest level of compression
Deflater compressor = new Deflater();
compressor.SetLevel(Deflater.BEST_COMPRESSION);
and etc
Pasha Bizhan
http://lucenedotnet.com
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: java.util.zip (was Questions about DeleteFile method)
Posted by Chuck Williams <ch...@allthingslocal.com>.
Doug Cutting wrote:
> Monsur Hossain wrote:
>
>> George, what about SharpZipLib:
>>
>> http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx
>>
>> It's a third-party project, but its written in C# and is under GPL.
>
>
> GPL unfortunately means that the library cannot be distributed by
> Apache with Lucene.Net.
George,
I think this may hold an answer:
http://msdn.microsoft.com/msdnmag/issues/03/06/ZipCompression/default.aspx
J#.Net contains java.util.zip and can be accessed from C#. The article
contains the details.
Will this work for you?
Chuck
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: java.util.zip (was Questions about DeleteFile method)
Posted by Doug Cutting <cu...@apache.org>.
Monsur Hossain wrote:
> George, what about SharpZipLib:
>
> http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx
>
> It's a third-party project, but its written in C# and is under GPL.
GPL unfortunately means that the library cannot be distributed by Apache
with Lucene.Net.
Doug
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org