622
|
1 |
'From Smalltalk/X, Version:3.4.3 on 29-mar-1998 at 9:59:17 pm' !
|
|
2 |
|
|
3 |
Object subclass:#ZipArchive
|
|
4 |
instanceVariableNames:'file archiveName firstEntry lastEntry'
|
|
5 |
classVariableNames:'ECREC_SIZE LREC_SIZE CREC_SIZE SIZE_CENTRAL_DIRECTORY
|
|
6 |
TOTAL_ENTRIES_CENTRAL_DIR C_COMPRESSED_SIZE
|
|
7 |
C_RELATIVE_OFFSET_LOCAL_HEADER C_FILENAME_LENGTH
|
|
8 |
C_UNCOMPRESSED_SIZE ZipFileFormatErrorSignal COMPR_STORED
|
|
9 |
COMPR_SHRUNK COMPR_REDUCED1 COMPR_REDUCED2 COMPR_REDUCED3
|
|
10 |
COMPR_REDUCED4 COMPR_IMPLODED COMPR_TOKENIZED COMPR_DEFLATED'
|
|
11 |
poolDictionaries:''
|
|
12 |
category:'System-Support-FileFormats'
|
|
13 |
!
|
|
14 |
|
|
15 |
Object subclass:#ZipMember
|
|
16 |
instanceVariableNames:'next relative_offset_local_header compressed_size
|
|
17 |
uncompressed_size name crc32 compression_method'
|
|
18 |
classVariableNames:''
|
|
19 |
poolDictionaries:''
|
|
20 |
privateIn:ZipArchive
|
|
21 |
!
|
|
22 |
|
|
23 |
!ZipArchive class methodsFor:'documentation'!
|
|
24 |
|
|
25 |
history
|
|
26 |
|
|
27 |
"Created: / 29.3.1998 / 17:45:14 / cg"
|
|
28 |
"Created: #oldFileNamed: / 29.3.1998 / 17:46:09 / cg"
|
|
29 |
"Created: #newFileNamed: / 29.3.1998 / 17:46:16 / cg"
|
|
30 |
"Created: #name: / 29.3.1998 / 17:46:47 / cg"
|
|
31 |
"Created: #name:mode: / 29.3.1998 / 17:47:40 / cg"
|
|
32 |
"Modified: #name:mode: / 29.3.1998 / 17:48:05 / cg"
|
|
33 |
"Created: #readDirectory / 29.3.1998 / 17:59:21 / cg"
|
|
34 |
"Modified: #readDirectory / 29.3.1998 / 18:01:54 / cg"
|
|
35 |
"Created: #initialize / 29.3.1998 / 18:02:52 / cg"
|
|
36 |
"Modified: #initialize / 29.3.1998 / 18:03:51 / cg"
|
|
37 |
"Modified: #initialize / 29.3.1998 / 18:04:19 / cg"
|
|
38 |
"Modified: #initialize / 29.3.1998 / 18:05:44 / cg"
|
|
39 |
"Modified: #initialize / 29.3.1998 / 18:06:00 / cg"
|
|
40 |
"Modified: #initialize / 29.3.1998 / 18:06:20 / cg"
|
|
41 |
"Created: #readu2 / 29.3.1998 / 18:08:17 / cg"
|
|
42 |
"Modified: #readu2 / 29.3.1998 / 18:09:05 / cg"
|
|
43 |
"Created: #read4 / 29.3.1998 / 18:10:25 / cg"
|
|
44 |
"Modified: #readu2 / 29.3.1998 / 18:10:53 / cg"
|
|
45 |
"Modified: #read4 / 29.3.1998 / 18:11:03 / cg"
|
|
46 |
"Created: #addMember / 29.3.1998 / 18:22:26 / cg"
|
|
47 |
"Modified: #addMember / 29.3.1998 / 18:22:47 / cg"
|
|
48 |
"Modified: #name:mode: / 29.3.1998 / 18:23:26 / cg"
|
|
49 |
"Modified: #initialize / 29.3.1998 / 18:24:37 / cg"
|
|
50 |
"Modified: #readDirectory / 29.3.1998 / 18:25:05 / cg"
|
|
51 |
"Modified: #readDirectory / 29.3.1998 / 18:25:14 / cg"
|
|
52 |
"Deleted: #name: / 29.3.1998 / 18:25:45 / cg"
|
|
53 |
"Modified: #readDirectory / 29.3.1998 / 18:26:38 / cg"
|
|
54 |
"Modified: #readDirectory / 29.3.1998 / 18:27:05 / cg"
|
|
55 |
"Modified: #readDirectory / 29.3.1998 / 18:33:22 / cg"
|
|
56 |
"Modified: #readDirectory / 29.3.1998 / 18:34:14 / cg"
|
|
57 |
"Created: #extract: / 29.3.1998 / 19:09:51 / cg"
|
|
58 |
"Created: #LREC_SIZE / 29.3.1998 / 19:11:21 / cg"
|
|
59 |
"Created: #findMember: / 29.3.1998 / 19:13:21 / cg"
|
|
60 |
"Modified: #findMember: / 29.3.1998 / 19:13:55 / cg"
|
|
61 |
"Created: #entries / 29.3.1998 / 19:14:32 / cg"
|
|
62 |
"Created: #zipMembersDo: / 29.3.1998 / 19:15:16 / cg"
|
|
63 |
"Modified: #findMember: / 29.3.1998 / 19:15:39 / cg"
|
|
64 |
"Modified: #entries / 29.3.1998 / 19:16:21 / cg"
|
|
65 |
"Modified: #name:mode: / 29.3.1998 / 19:16:35 / cg"
|
|
66 |
"Modified: #name:mode: / 29.3.1998 / 19:57:01 / cg"
|
|
67 |
"Modified: #readDirectory / 29.3.1998 / 20:02:00 / cg"
|
|
68 |
"Modified: #readDirectory / 29.3.1998 / 20:02:16 / cg"
|
|
69 |
"Modified: #entries / 29.3.1998 / 20:08:39 / cg"
|
|
70 |
"Modified: #extract: / 29.3.1998 / 20:08:49 / cg"
|
|
71 |
"Created: #members / 29.3.1998 / 20:09:28 / cg"
|
|
72 |
"Modified: #members / 29.3.1998 / 20:10:23 / cg"
|
|
73 |
"Modified: #extract: / 29.3.1998 / 20:12:13 / cg"
|
|
74 |
"Created: #decode:method: / 29.3.1998 / 20:14:46 / cg"
|
|
75 |
"Modified: #initialize / 29.3.1998 / 20:17:19 / cg"
|
|
76 |
"Modified: #decode:method: / 29.3.1998 / 20:20:21 / cg"
|
|
77 |
! !
|
|
78 |
|
|
79 |
!ZipArchive class methodsFor:'instance creation'!
|
|
80 |
|
|
81 |
newFileNamed:name
|
|
82 |
^ self new name:name mode:#write
|
|
83 |
|
|
84 |
"Created: / 29.3.1998 / 17:46:16 / cg"
|
|
85 |
!
|
|
86 |
|
|
87 |
oldFileNamed:name
|
|
88 |
^ self new name:name mode:#read
|
|
89 |
|
|
90 |
"Created: / 29.3.1998 / 17:46:09 / cg"
|
|
91 |
! !
|
|
92 |
|
|
93 |
!ZipArchive class methodsFor:'class initialization'!
|
|
94 |
|
|
95 |
initialize
|
|
96 |
ECREC_SIZE := 18.
|
|
97 |
LREC_SIZE := 26.
|
|
98 |
CREC_SIZE := 42.
|
|
99 |
|
|
100 |
TOTAL_ENTRIES_CENTRAL_DIR := 10.
|
|
101 |
SIZE_CENTRAL_DIRECTORY := 12.
|
|
102 |
|
|
103 |
C_COMPRESSED_SIZE := 16.
|
|
104 |
C_UNCOMPRESSED_SIZE := 20.
|
|
105 |
C_FILENAME_LENGTH := 24.
|
|
106 |
C_RELATIVE_OFFSET_LOCAL_HEADER := 38.
|
|
107 |
|
|
108 |
"/ compression methods
|
|
109 |
COMPR_STORED := 0.
|
|
110 |
COMPR_SHRUNK := 1.
|
|
111 |
COMPR_REDUCED1 := 2.
|
|
112 |
COMPR_REDUCED2 := 3.
|
|
113 |
COMPR_REDUCED3 := 4.
|
|
114 |
COMPR_REDUCED4 := 5.
|
|
115 |
COMPR_IMPLODED := 6.
|
|
116 |
COMPR_TOKENIZED := 7.
|
|
117 |
COMPR_DEFLATED := 8.
|
|
118 |
|
|
119 |
ZipFileFormatErrorSignal := Signal new.
|
|
120 |
|
|
121 |
"
|
|
122 |
self initialize
|
|
123 |
"
|
|
124 |
|
|
125 |
"Modified: / 29.3.1998 / 20:17:18 / cg"
|
|
126 |
! !
|
|
127 |
|
|
128 |
!ZipArchive class methodsFor:'constants'!
|
|
129 |
|
|
130 |
LREC_SIZE
|
|
131 |
^ LREC_SIZE
|
|
132 |
|
|
133 |
"Created: / 29.3.1998 / 19:11:20 / cg"
|
|
134 |
! !
|
|
135 |
|
|
136 |
!ZipArchive methodsFor:'accessing'!
|
|
137 |
|
|
138 |
entries
|
|
139 |
"return a collection of fileName entries"
|
|
140 |
|
|
141 |
|names|
|
|
142 |
|
|
143 |
names := OrderedCollection new.
|
|
144 |
|
|
145 |
self zipMembersDo:[:zipd |
|
|
146 |
names add:(zipd name)
|
|
147 |
].
|
|
148 |
^ names
|
|
149 |
|
|
150 |
"
|
|
151 |
(ZipArchive oldFileNamed:'/usr/lib/java/lib/classes.zip') entries
|
|
152 |
"
|
|
153 |
|
|
154 |
"Modified: / 29.3.1998 / 20:08:38 / cg"
|
|
155 |
!
|
|
156 |
|
|
157 |
extract:fileName
|
|
158 |
|zmemb rawContents|
|
|
159 |
|
|
160 |
zmemb := self findMember:fileName.
|
|
161 |
file position:(zmemb fileStart + 1).
|
|
162 |
rawContents := file nextBytes:(zmemb compressed_size).
|
|
163 |
^ self decode:rawContents method:(zmemb compression_method)
|
|
164 |
|
|
165 |
"
|
|
166 |
(ZipArchive oldFileNamed:'/usr/lib/java/lib/classes.zip') extract:'java/io/UTFDataFormatException.class'
|
|
167 |
"
|
|
168 |
|
|
169 |
"Modified: / 29.3.1998 / 20:12:12 / cg"
|
|
170 |
!
|
|
171 |
|
|
172 |
members
|
|
173 |
"return a collection of members"
|
|
174 |
|
|
175 |
|members|
|
|
176 |
|
|
177 |
members := OrderedCollection new.
|
|
178 |
|
|
179 |
self zipMembersDo:[:zipd |
|
|
180 |
members add:zipd
|
|
181 |
].
|
|
182 |
^ members
|
|
183 |
|
|
184 |
"
|
|
185 |
(ZipArchive oldFileNamed:'/usr/lib/java/lib/classes.zip') members
|
|
186 |
"
|
|
187 |
|
|
188 |
"Created: / 29.3.1998 / 20:09:27 / cg"
|
|
189 |
"Modified: / 29.3.1998 / 20:10:21 / cg"
|
|
190 |
! !
|
|
191 |
|
|
192 |
!ZipArchive methodsFor:'private'!
|
|
193 |
|
|
194 |
name:nm mode:mode
|
|
195 |
archiveName := nm.
|
|
196 |
mode == #read ifTrue:[
|
|
197 |
file := nm asFilename readStream.
|
|
198 |
self readDirectory.
|
|
199 |
] ifFalse:[
|
|
200 |
file := nm asFilename writeStream
|
|
201 |
]
|
|
202 |
|
|
203 |
"
|
|
204 |
ZipArchive oldFileNamed:'/usr/lib/java/lib/classes.zip'
|
|
205 |
(ZipArchive oldFileNamed:'/usr/lib/java/lib/classes.zip') entries
|
|
206 |
(ZipArchive oldFileNamed:'/usr/lib/java/lib/classes.zip') extract:'java/io/UTFDataFormatException.class'
|
|
207 |
"
|
|
208 |
|
|
209 |
"Modified: / 29.3.1998 / 19:57:00 / cg"
|
|
210 |
! !
|
|
211 |
|
|
212 |
!ZipArchive methodsFor:'private - decompression'!
|
|
213 |
|
|
214 |
decode:rawBytes method:compressionMethod
|
|
215 |
compressionMethod == COMPR_STORED ifTrue:[
|
|
216 |
"/ uncompressed
|
|
217 |
^ rawBytes
|
|
218 |
].
|
|
219 |
|
|
220 |
compressionMethod == COMPR_SHRUNK ifTrue:[
|
|
221 |
self error:'unsupported compression method: SHRUNK'.
|
|
222 |
^ nil
|
|
223 |
].
|
|
224 |
compressionMethod == COMPR_REDUCED1 ifTrue:[
|
|
225 |
self error:'unsupported compression method: REDUCED1'.
|
|
226 |
^ nil
|
|
227 |
].
|
|
228 |
compressionMethod == COMPR_REDUCED2 ifTrue:[
|
|
229 |
self error:'unsupported compression method: REDUCED2'.
|
|
230 |
^ nil
|
|
231 |
].
|
|
232 |
compressionMethod == COMPR_REDUCED3 ifTrue:[
|
|
233 |
self error:'unsupported compression method: REDUCED3'.
|
|
234 |
^ nil
|
|
235 |
].
|
|
236 |
compressionMethod == COMPR_REDUCED4 ifTrue:[
|
|
237 |
self error:'unsupported compression method: REDUCED4'.
|
|
238 |
^ nil
|
|
239 |
].
|
|
240 |
compressionMethod == COMPR_IMPLODED ifTrue:[
|
|
241 |
self error:'unsupported compression method: IMPLODED'.
|
|
242 |
^ nil
|
|
243 |
].
|
|
244 |
compressionMethod == COMPR_TOKENIZED ifTrue:[
|
|
245 |
self error:'unsupported compression method: TOKENIZED'.
|
|
246 |
^ nil
|
|
247 |
].
|
|
248 |
compressionMethod == COMPR_DEFLATED ifTrue:[
|
|
249 |
self error:'unsupported compression method: DEFLATED'.
|
|
250 |
^ nil
|
|
251 |
].
|
|
252 |
|
|
253 |
self error:'unsupported compression method'.
|
|
254 |
^ nil
|
|
255 |
|
|
256 |
"Created: / 29.3.1998 / 20:14:45 / cg"
|
|
257 |
"Modified: / 29.3.1998 / 20:20:20 / cg"
|
|
258 |
! !
|
|
259 |
|
|
260 |
!ZipArchive methodsFor:'private - directory stuff'!
|
|
261 |
|
|
262 |
addMember
|
|
263 |
|zmemb |
|
|
264 |
|
|
265 |
zmemb := ZipMember new.
|
|
266 |
(firstEntry == nil) ifTrue:[
|
|
267 |
firstEntry := zmemb
|
|
268 |
] ifFalse:[
|
|
269 |
lastEntry next:zmemb.
|
|
270 |
].
|
|
271 |
lastEntry := zmemb.
|
|
272 |
^ zmemb.
|
|
273 |
|
|
274 |
"Created: / 29.3.1998 / 18:22:25 / cg"
|
|
275 |
"Modified: / 29.3.1998 / 18:22:47 / cg"
|
|
276 |
!
|
|
277 |
|
|
278 |
findMember:name
|
|
279 |
self zipMembersDo:[:zipd |
|
|
280 |
(zipd name = name) ifTrue:[^ zipd].
|
|
281 |
].
|
|
282 |
^ nil
|
|
283 |
|
|
284 |
"Modified: / 29.3.1998 / 19:15:38 / cg"
|
|
285 |
!
|
|
286 |
|
|
287 |
readDirectory
|
|
288 |
|size count_in dir_size|
|
|
289 |
|
|
290 |
size := file fileSize.
|
|
291 |
(size == 0) ifTrue:[
|
|
292 |
count_in := 0.
|
|
293 |
^ self
|
|
294 |
].
|
|
295 |
|
|
296 |
(size < (ECREC_SIZE+4)) ifTrue:[
|
|
297 |
^ ZipFileFormatErrorSignal raiseWith:'zipfile too short'.
|
|
298 |
].
|
|
299 |
|
|
300 |
file position:(size - (ECREC_SIZE+4) + 1).
|
|
301 |
((file next ~~ $P)
|
|
302 |
or:[file next ~~ $K
|
|
303 |
or:[file next ~~ (Character value:8r005)
|
|
304 |
or:[file next ~~ (Character value:8r006)]]]) ifTrue:[
|
|
305 |
^ ZipFileFormatErrorSignal raiseWith:'not a valid zipfile'.
|
|
306 |
].
|
|
307 |
|
|
308 |
file skip: (TOTAL_ENTRIES_CENTRAL_DIR - 4).
|
|
309 |
|
|
310 |
count_in := self readu2. "/ Get TOTAL_ENTRIES_CENTRAL_DIR
|
|
311 |
dir_size := self read4. "/ Get SIZE_CENTRAL_DIRECTORY
|
|
312 |
file position:(size - (dir_size + ECREC_SIZE+4) + 1).
|
|
313 |
|
|
314 |
0 to:(count_in-1) do:[:i |
|
|
315 |
|zipd filename_length|
|
|
316 |
|
|
317 |
zipd := self addMember.
|
|
318 |
file skip:(4+C_COMPRESSED_SIZE-4-2-2-2).
|
|
319 |
zipd compression_method:(self readu2)."/ Get compression method
|
|
320 |
self readu2. "/ skip last_mod_file_time
|
|
321 |
self readu2. "/ skip last_mod_file_date
|
|
322 |
zipd crc32:(self read4). "/ Get crc32
|
|
323 |
zipd compressed_size:(self read4). "/ Get C_COMPRESSED_SIZE
|
|
324 |
zipd uncompressed_size:(self read4). "/ Get C_UNCOMPRESSED_SIZE
|
|
325 |
filename_length := self readu2. "/ Get C_FILENAME_LENGTH
|
|
326 |
file skip:(C_RELATIVE_OFFSET_LOCAL_HEADER-(C_FILENAME_LENGTH+2)).
|
|
327 |
zipd relative_offset_local_header:(self read4).
|
|
328 |
zipd name:(String new:filename_length).
|
|
329 |
file nextBytes:filename_length into:(zipd name).
|
|
330 |
]
|
|
331 |
|
|
332 |
"Modified: / 29.3.1998 / 20:02:15 / cg"
|
|
333 |
!
|
|
334 |
|
|
335 |
zipMembersDo:aBlock
|
|
336 |
|zipd|
|
|
337 |
|
|
338 |
zipd := firstEntry.
|
|
339 |
[zipd notNil] whileTrue:[
|
|
340 |
aBlock value:zipd.
|
|
341 |
zipd := zipd next
|
|
342 |
].
|
|
343 |
|
|
344 |
"Modified: / 29.3.1998 / 19:13:54 / cg"
|
|
345 |
"Created: / 29.3.1998 / 19:15:15 / cg"
|
|
346 |
! !
|
|
347 |
|
|
348 |
!ZipArchive methodsFor:'private - io'!
|
|
349 |
|
|
350 |
read4
|
|
351 |
^ file nextLongMSB:false
|
|
352 |
|
|
353 |
"Created: / 29.3.1998 / 18:10:25 / cg"
|
|
354 |
"Modified: / 29.3.1998 / 18:11:03 / cg"
|
|
355 |
!
|
|
356 |
|
|
357 |
readu2
|
|
358 |
^ file nextUnsignedShortMSB:false
|
|
359 |
|
|
360 |
"Modified: / 29.3.1998 / 18:10:53 / cg"
|
|
361 |
! !
|
|
362 |
|
|
363 |
!ZipArchive::ZipMember methodsFor:'accessing'!
|
|
364 |
|
|
365 |
compressed_size
|
|
366 |
"return the value of the instance variable 'compressed_size' (automatically generated)"
|
|
367 |
|
|
368 |
^ compressed_size
|
|
369 |
|
|
370 |
"Created: / 29.3.1998 / 18:28:03 / cg"
|
|
371 |
!
|
|
372 |
|
|
373 |
compressed_size:something
|
|
374 |
"set the value of the instance variable 'compressed_size' (automatically generated)"
|
|
375 |
|
|
376 |
compressed_size := something.
|
|
377 |
|
|
378 |
"Created: / 29.3.1998 / 18:28:03 / cg"
|
|
379 |
!
|
|
380 |
|
|
381 |
compression_method
|
|
382 |
"return the value of the instance variable 'compression_method' (automatically generated)"
|
|
383 |
|
|
384 |
^ compression_method
|
|
385 |
|
|
386 |
"Created: / 29.3.1998 / 20:02:57 / cg"
|
|
387 |
!
|
|
388 |
|
|
389 |
compression_method:something
|
|
390 |
"set the value of the instance variable 'compression_method' (automatically generated)"
|
|
391 |
|
|
392 |
compression_method := something.
|
|
393 |
|
|
394 |
"Created: / 29.3.1998 / 20:02:57 / cg"
|
|
395 |
!
|
|
396 |
|
|
397 |
crc32
|
|
398 |
"return the value of the instance variable 'crc32' (automatically generated)"
|
|
399 |
|
|
400 |
^ crc32
|
|
401 |
|
|
402 |
"Created: / 29.3.1998 / 20:03:00 / cg"
|
|
403 |
!
|
|
404 |
|
|
405 |
crc32:something
|
|
406 |
"set the value of the instance variable 'crc32' (automatically generated)"
|
|
407 |
|
|
408 |
crc32 := something.
|
|
409 |
|
|
410 |
"Created: / 29.3.1998 / 20:03:00 / cg"
|
|
411 |
!
|
|
412 |
|
|
413 |
name
|
|
414 |
"return the value of the instance variable 'name' (automatically generated)"
|
|
415 |
|
|
416 |
^ name
|
|
417 |
|
|
418 |
"Created: / 29.3.1998 / 18:29:22 / cg"
|
|
419 |
!
|
|
420 |
|
|
421 |
name:something
|
|
422 |
"set the value of the instance variable 'name' (automatically generated)"
|
|
423 |
|
|
424 |
name := something.
|
|
425 |
|
|
426 |
"Created: / 29.3.1998 / 18:29:22 / cg"
|
|
427 |
!
|
|
428 |
|
|
429 |
next
|
|
430 |
"return the value of the instance variable 'next' (automatically generated)"
|
|
431 |
|
|
432 |
^ next
|
|
433 |
|
|
434 |
"Created: / 29.3.1998 / 18:29:42 / cg"
|
|
435 |
!
|
|
436 |
|
|
437 |
next:something
|
|
438 |
"set the value of the instance variable 'next' (automatically generated)"
|
|
439 |
|
|
440 |
next := something.
|
|
441 |
|
|
442 |
"Created: / 29.3.1998 / 18:29:42 / cg"
|
|
443 |
!
|
|
444 |
|
|
445 |
relative_offset_local_header
|
|
446 |
"return the value of the instance variable 'relative_offset_local_header' (automatically generated)"
|
|
447 |
|
|
448 |
^ relative_offset_local_header
|
|
449 |
|
|
450 |
"Created: / 29.3.1998 / 18:28:40 / cg"
|
|
451 |
!
|
|
452 |
|
|
453 |
relative_offset_local_header:something
|
|
454 |
"set the value of the instance variable 'relative_offset_local_header' (automatically generated)"
|
|
455 |
|
|
456 |
relative_offset_local_header := something.
|
|
457 |
|
|
458 |
"Created: / 29.3.1998 / 18:28:40 / cg"
|
|
459 |
!
|
|
460 |
|
|
461 |
uncompressed_size
|
|
462 |
"return the value of the instance variable 'uncompressed_size' (automatically generated)"
|
|
463 |
|
|
464 |
^ uncompressed_size
|
|
465 |
|
|
466 |
"Created: / 29.3.1998 / 18:28:21 / cg"
|
|
467 |
!
|
|
468 |
|
|
469 |
uncompressed_size:something
|
|
470 |
"set the value of the instance variable 'uncompressed_size' (automatically generated)"
|
|
471 |
|
|
472 |
uncompressed_size := something.
|
|
473 |
|
|
474 |
"Created: / 29.3.1998 / 18:28:21 / cg"
|
|
475 |
! !
|
|
476 |
|
|
477 |
!ZipArchive::ZipMember methodsFor:'printing & storing'!
|
|
478 |
|
|
479 |
displayString
|
|
480 |
^ 'ZipMember(' , name , ')'
|
|
481 |
|
|
482 |
"Created: / 29.3.1998 / 20:10:07 / cg"
|
|
483 |
! !
|
|
484 |
|
|
485 |
!ZipArchive::ZipMember methodsFor:'queries'!
|
|
486 |
|
|
487 |
fileStart
|
|
488 |
^ relative_offset_local_header + ZipArchive LREC_SIZE + 4 + name size
|
|
489 |
|
|
490 |
"Created: / 29.3.1998 / 19:10:57 / cg"
|
|
491 |
! !
|
|
492 |
|
|
493 |
ZipArchive initialize!
|