Révision 2484
tmp/org.txm.utils/src/org/txm/utils/zip/Zip.java (revision 2484) | ||
---|---|---|
97 | 97 |
* @throws IOException |
98 | 98 |
* Signals that an I/O exception has occurred. |
99 | 99 |
*/ |
100 |
public static void compress(final File file, final File targetZipFile, IProgressMonitor monitor) throws IOException { |
|
101 |
compress(file, targetZipFile, DEFAULT_LEVEL_COMPRESSION, monitor, null); |
|
102 |
} |
|
103 |
|
|
104 |
/** |
|
105 |
* Compress. |
|
106 |
* |
|
107 |
* @param file |
|
108 |
* the file |
|
109 |
* @param targetZipFile |
|
110 |
* the Zip file to create |
|
111 |
* @throws IOException |
|
112 |
* Signals that an I/O exception has occurred. |
|
113 |
*/ |
|
100 | 114 |
public static void compress(final File file, final File targetZipFile, IProgressMonitor monitor, HashSet<String> ignore) throws IOException { |
101 | 115 |
compress(file, targetZipFile, DEFAULT_LEVEL_COMPRESSION, monitor, ignore); |
102 | 116 |
} |
Formats disponibles : Unified diff