Re: CFS file and file formats

2005-01-04 Thread Bernhard Messer
Doug Cutting schrieb: Bernhard Messer wrote: Why not implementing a small utility class, f.e CompoundFileUtil.java within the org.apache.lucene.index Package ? This class could be public and implement the necessary functionality. This is what i would prefer, because we don't have to change the v

Re: CFS file and file formats

2005-01-03 Thread Doug Cutting
Bernhard Messer wrote: Why not implementing a small utility class, f.e CompoundFileUtil.java within the org.apache.lucene.index Package ? This class could be public and implement the necessary functionality. This is what i would prefer, because we don't have to change the visibility of CompoundF

Re: CFS file and file formats

2005-01-03 Thread Bernhard Messer
Doug Cutting schrieb: Bernhard Messer wrote: I understand the technical reason for main() there, but logically this belongs to an external utility class, I think. Otis you are right, i already thought about it. It could be simply moved to a newly created class in org.apache.lucene.util package. Bu

Re: CFS file and file formats

2005-01-03 Thread Doug Cutting
Bernhard Messer wrote: I understand the technical reason for main() there, but logically this belongs to an external utility class, I think. Otis you are right, i already thought about it. It could be simply moved to a newly created class in org.apache.lucene.util package. But then we have to cha

Re: CFS file and file formats

2004-12-31 Thread Bernhard Messer
Hello, I understand the technical reason for main() there, but logically this belongs to an external utility class, I think. Otis you are right, i already thought about it. It could be simply moved to a newly created class in org.apache.lucene.util package. But then we have to change the visi

Re: CFS file and file formats

2004-12-30 Thread Otis Gospodnetic
Hello, I understand the technical reason for main() there, but logically this belongs to an external utility class, I think. Otis --- Bernhard Messer <[EMAIL PROTECTED]> wrote: > hi, > > i already had a look at Garrett's implementation. I made some smaller > > changes to improve the performa

Re: CFS file and file formats

2004-12-30 Thread Bernhard Messer
hi, i already had a look at Garrett's implementation. I made some smaller changes to improve the performance when extracting the files from the compound. All tests work fine and the index is usable after extraction. The new functionality is added as a public static void main () to CompoundFileR

Re: CFS file and file formats

2004-12-24 Thread Garrett Rooney
Doug Cutting wrote: It would be useful to have a command-line utility (i.e., a static main(String[]) method somewhere) that lists the files and sizes contained inside a CFS file, and perhaps even an option to unpack it. Anyone care to contribute this method? Here's a diff to add this functionali

Re: CFS file and file formats

2004-12-23 Thread Garrett Rooney
Doug Cutting wrote: It would be useful to have a command-line utility (i.e., a static main(String[]) method somewhere) that lists the files and sizes contained inside a CFS file, and perhaps even an option to unpack it. Anyone care to contribute this method? I may have a chance to look at that o

Re: CFS file and file formats

2004-12-23 Thread Doug Cutting
It would be useful to have a command-line utility (i.e., a static main(String[]) method somewhere) that lists the files and sizes contained inside a CFS file, and perhaps even an option to unpack it. Anyone care to contribute this method? Doug ---