public final class SoyJarFileWriter extends Object implements AutoCloseable
| Constructor and Description |
|---|
SoyJarFileWriter(OutputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
writeEntry(String path,
com.google.common.io.ByteSource contents)
Writes a single entry to the jar.
|
public SoyJarFileWriter(OutputStream stream) throws IOException
IOExceptionpublic void writeEntry(String path, com.google.common.io.ByteSource contents) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface AutoCloseableIOException