public class ZipProjectWriter extends Object implements ProjectWriter
| Constructor and Description |
|---|
ZipProjectWriter(ZipOutputStream zip) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
exists(String path) |
byte[] |
getContent(String path) |
String |
mkdirs(String path) |
void |
write(String path,
String content) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitpublic ZipProjectWriter(ZipOutputStream zip)
public String mkdirs(String path) throws IOException
mkdirs in interface ProjectWriterIOExceptionpublic void write(String path, String content) throws IOException
write in interface ProjectWriterIOExceptionpublic byte[] getContent(String path)
getContent in interface ProjectWriterpublic boolean exists(String path)
exists in interface ProjectWriterpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.