|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.util.zip.ZipItem
public class ZipItem
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
| Constructor Summary | |
|---|---|
ZipItem(File file,
String name)
Construct a ZipItem |
|
| Method Summary | |
|---|---|
File |
getFile()
Returns the actual file |
String |
getName()
Returns the zip entry name |
String |
toString()
Returns a String represenation of the real filename and the zip entry name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ZipItem(File file,
String name)
throws ZipFileException
file - The actual filename - The zip entry name - i.e. the relative path in the zip file
ZipFileException| Method Detail |
|---|
public String toString()
toString in class Objectpublic String getName()
public File getFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||