| Constructor and Description |
|---|
Z() |
| Modifier and Type | Method and Description |
|---|---|
Zipper.Z |
add(File file) |
Zipper.Z |
add(String path) |
Zipper.Z |
add(String name,
File file) |
Zipper.Z |
add(String name,
InputStream inputStream) |
Zipper.Z |
add(String name,
String file) |
Map<String,InputStream> |
files() |
ByteArrayInputStream |
zip() |
void |
zip(OutputStream out) |
void |
zip(String zip) |
public Zipper.Z add(String path) throws IOException
IOExceptionpublic Zipper.Z add(File file) throws IOException
IOExceptionpublic Zipper.Z add(String name, String file) throws IOException
IOExceptionpublic Zipper.Z add(String name, File file) throws IOException
IOExceptionpublic Zipper.Z add(String name, InputStream inputStream)
public Map<String,InputStream> files()
public ByteArrayInputStream zip() throws IOException
IOExceptionpublic void zip(OutputStream out) throws IOException
IOExceptionpublic void zip(String zip) throws IOException
IOExceptionCopyright © 2023. All rights reserved.