org.itc.irst.tcc.sre.util
Class ZipModel
java.lang.Object
org.itc.irst.tcc.sre.util.ZipModel
public class ZipModel
- extends java.lang.Object
TO DO
- Since:
- 1.0
- Version:
- %I%, %G%
- Author:
- Claudio Giuliano
Field Summary |
(package private) static int |
BUFFER
|
(package private) static org.apache.log4j.Logger |
logger
Define a static logger variable so that it references the
Logger instance named ZipModel . |
private java.util.zip.ZipOutputStream |
out
|
Constructor Summary |
ZipModel(java.io.File f)
|
Method Summary |
void |
add(java.io.File f)
|
void |
add(java.io.File f,
java.lang.String desc)
|
void |
close()
|
static void |
write(java.io.File zip,
java.io.File[] files)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
static org.apache.log4j.Logger logger
- Define a static logger variable so that it references the
Logger instance named
ZipModel
.
BUFFER
static final int BUFFER
- See Also:
- Constant Field Values
out
private java.util.zip.ZipOutputStream out
ZipModel
public ZipModel(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
add
public void add(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
add
public void add(java.io.File f,
java.lang.String desc)
throws java.io.IOException
- Throws:
java.io.IOException
write
public static void write(java.io.File zip,
java.io.File[] files)
throws java.io.IOException
- Throws:
java.io.IOException