public class StaticWeaveJAROutputHandler extends AbstractStaticWeaveOutputHandler
outputStreamHolder| Constructor and Description |
|---|
StaticWeaveJAROutputHandler(JarOutputStream outputStreamHolder)
Construct an instance of StaticWeaveJAROutputHandler
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDirEntry(String dirPath)
Add directory entry into outputstream.
|
void |
addEntry(InputStream jis,
JarEntry entry)
Write entry into target, this method usually copy original class into target.
|
void |
addEntry(JarEntry targetEntry,
byte[] entryBytes)
Write entry bytes into target, this method is usually called if class has been tranformed
|
closeOutputStream, getOutputStream, readwriteStreamspublic StaticWeaveJAROutputHandler(JarOutputStream outputStreamHolder)
outputStreamHolder - public void addDirEntry(String dirPath) throws IOException
addDirEntry in class AbstractStaticWeaveOutputHandlerdirPath - IOExceptionpublic void addEntry(JarEntry targetEntry, byte[] entryBytes) throws IOException
addEntry in class AbstractStaticWeaveOutputHandlertargetEntry - entryBytes - IOExceptionpublic void addEntry(InputStream jis, JarEntry entry) throws IOException, URISyntaxException
addEntry in class AbstractStaticWeaveOutputHandlerjis - entry - IOExceptionURISyntaxExceptionCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.