@ProviderType
public interface ZipWriter
Modifier and Type | Method and Description |
---|---|
void |
addEntry(String name,
byte[] bytes) |
void |
addEntry(String name,
InputStream inputStream) |
void |
addEntry(String name,
String s) |
void |
addEntry(String name,
StringBuilder sb) |
byte[] |
finish() |
File |
getFile() |
String |
getPath() |
void |
umount()
Silently unmounts the file entry attached to this Zip writer.
|
void addEntry(String name, byte[] bytes) throws IOException
IOException
void addEntry(String name, InputStream inputStream) throws IOException
IOException
void addEntry(String name, String s) throws IOException
IOException
void addEntry(String name, StringBuilder sb) throws IOException
IOException
byte[] finish() throws IOException
IOException
File getFile()
String getPath()
void umount()