Re: CasIOUtils class - ZIP file scenario

2016-08-04 Thread Richard Eckart de Castilho
On 04.08.2016, at 09:09, Peter Klügl wrote: > > I'll remove the comment. Not sure I understand your point with the > output stream. Files/entries have to be added to a ZIP one after the other. We cannot get two output streams pointing into two different files in the same target ZIP file (i.e. on

Re: CasIOUtils class - ZIP file scenario

2016-08-04 Thread Peter Klügl
I'll remove the comment. Not sure I understand your point with the output stream. Am 03.08.2016 um 18:38 schrieb Richard Eckart de Castilho: > In the current design, I think the following code does not make much sense: > > // To support writing to ZIPs, the type system must be written separat

CasIOUtils class - ZIP file scenario

2016-08-03 Thread Richard Eckart de Castilho
In the current design, I think the following code does not make much sense: // To support writing to ZIPs, the type system must be written separately from the CAS data if (typeOS != null && !typeSystemWritten) { writeTypeSystem(aCas, typeOS); typeSystemWritten = true; } O