Lines Matching refs:zip
10 \section{Archive formats such as zip}\label{wxarc}
12 The archive classes handle archive formats such as zip, tar, rar and cab.
16 For each archive type, there are the following classes (using zip here
43 \helpref{Archive formats such as zip}{wxarc}
52 wxFFileOutputStream out(_T("test.zip"));
53 wxZipOutputStream zip(out);
54 wxTextOutputStream txt(zip);
57 zip.PutNextEntry(_T("entry1.txt"));
60 zip.PutNextEntry(_T("subdir") + sep + _T("entry2.txt"));
71 \helpref{Archive formats such as zip}{wxarc}
84 wxFFileInputStream in(_T("test.zip"));
85 wxZipInputStream zip(in);
87 while (entry.reset(zip.GetNextEntry()), entry.get() != NULL)
91 // read 'zip' to access the entry's data
99 \helpref{Archive formats such as zip}{wxarc}
118 auto_ptr<wxFFileInputStream> in(new wxFFileInputStream(_T("test.zip")));
119 wxTempFileOutputStream out(_T("test.zip"));
126 // transfer any meta-data for the archive as a whole (the zip comment
127 // in the case of zip)
148 \helpref{Archive formats such as zip}{wxarc}
178 // open the zip
179 wxFFileInputStream in(_T("test.zip"));
180 wxZipInputStream zip(in);
184 entry.reset(zip.GetNextEntry());
205 // open the zip
206 wxFFileInputStream in(_T("test.zip"));
207 wxZipInputStream zip(in);
209 // load the zip catalog
210 while ((entry = zip.GetNextEntry()) != NULL) {
213 // (e.g. tar) though it is an error in the case of zip
220 zip.OpenEntry(*it->second);
232 wxFFileInputStream in2(_T("test.zip"));
242 \helpref{Archive formats such as zip}{wxarc}
315 // look for a archive handler, e.g. for '.zip' or '.tar'
336 \helpref{Archive formats such as zip}{wxarc}
353 the entry's data (tar has this limitation, zip doesn't). In this case
369 entry's data (zip is an example). In this case, when reading from a