public class ZipItem extends Object
Constructor and Description |
---|
ZipItem(File file,
String name)
Construct a ZipItem
|
Modifier and Type | Method and Description |
---|---|
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.
|
public ZipItem(File file, String name) throws ZipFileException
file
- The actual filename
- The zip entry name - i.e. the relative path in the zip fileZipFileException
Copyright © 2021. All rights reserved.