Logo Search packages:      
Sourcecode: fex version File versions  Download package

fix::ZipFactory Class Reference

List of all members.

Detailed Description

Factory class for packing files into a ZIP archive.

2009-06-26 18:38:43 +0200 (Fri, 26 Jun 2009)

Copyright (C) 2009 Sebastian Roth

All Rights Reserved

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Definition at line 43 of file ZipFactory.java.

Public Member Functions

void add (File file) throws FileNotFoundException
void create (OutputStream out) throws IOException
void remove (File file)
long updateSum (File[]fileList)
 ZipFactory (JProgressBar progressBar)

Private Member Functions

void add (File file, String name) throws IOException

Private Attributes

CRC32 crc = null
long done = 0
List< File > files = new ArrayList<File>()
JProgressBar progressBar = null
long sum = 0
ZipOutputStream zipOutput

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index