Package com.sun.enterprise.util.zip
Class ZipItem
- java.lang.Object
-
- com.sun.enterprise.util.zip.ZipItem
-
public class ZipItem extends Object
This class encapsulates the two pieces of information required to make a ZipEntry -- the "real" path, and the path you want to appear in the zip file
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getFile()
Returns the actual fileString
getName()
Returns the zip entry nameString
toString()
Returns a String represenation of the real filename and the zip entry name.
-
-
-
Constructor Detail
-
ZipItem
public ZipItem(File file, String name) throws ZipFileException
Construct a ZipItem- Parameters:
file
- The actual filename
- The zip entry name - i.e. the relative path in the zip file- Throws:
ZipFileException
-
-