public class ZipOutputHandler extends java.lang.Object implements OutputHandler
| Constructor and Description |
|---|
ZipOutputHandler(java.io.OutputStream outputStream) |
ZipOutputHandler(Project project) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
exists(java.lang.String path) |
java.lang.String |
getOutputLocation() |
void |
write(java.lang.String path,
Template contents) |
public ZipOutputHandler(Project project) throws java.io.IOException
java.io.IOExceptionpublic ZipOutputHandler(java.io.OutputStream outputStream)
public java.lang.String getOutputLocation()
getOutputLocation in interface OutputHandlerpublic boolean exists(java.lang.String path)
exists in interface OutputHandlerpublic void write(java.lang.String path,
Template contents)
throws java.io.IOException
write in interface OutputHandlerjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException