public class ZipFile extends AbstractZipItem
| Modifier and Type | Field and Description |
|---|---|
protected File |
contentFile |
protected InputStream |
contentStream |
| Constructor and Description |
|---|
ZipFile(InputStream contentStream,
String name,
String comment)
Create a new zip file type.
|
ZipFile(ZipFolder parent,
File contentFile,
String name,
String comment,
byte[] extra)
Create a new zip file type.
|
ZipFile(ZipFolder parent,
InputStream contentStream,
String name,
String comment)
Create a new zip file type.
|
| Modifier and Type | Method and Description |
|---|---|
File |
getContentFile()
Get content file
|
InputStream |
getContentStream()
Returns the content stream.
|
getComment, getExtra, getName, getParent, getPath, getType, setName, setParent, toStringprotected File contentFile
protected InputStream contentStream
public ZipFile(ZipFolder parent, File contentFile, String name, String comment, byte[] extra)
parent - the file parentcontentFile - the content file.name - the file name.comment - the file comment.extra - the file extra field.public ZipFile(ZipFolder parent, InputStream contentStream, String name, String comment)
parent - the file parentcontentStream - the content stream.name - the file name.comment - the file comment.extra - the file extra field.public ZipFile(InputStream contentStream, String name, String comment)
contentStream - the content stream.name - the file name.comment - the file comment.public File getContentFile()
public InputStream getContentStream()
Copyright © 2020. All Rights Reserved.