public class StaticWeaveJAROutputHandler extends AbstractStaticWeaveOutputHandler
Constructor and Description |
---|
StaticWeaveJAROutputHandler(java.util.jar.JarOutputStream outputStreamHolder)
Construct an instance of StaticWeaveJAROutputHandler
|
Modifier and Type | Method and Description |
---|---|
void |
addDirEntry(java.lang.String dirPath)
Add directory entry into outputstream.
|
void |
addEntry(java.io.InputStream jis,
java.util.jar.JarEntry entry)
Write entry into target, this method usually copy original class into target.
|
void |
addEntry(java.util.jar.JarEntry targetEntry,
byte[] entryBytes)
Write entry bytes into target, this method is usually called if class has been tranformed
|
closeOutputStream, getOutputStream
public StaticWeaveJAROutputHandler(java.util.jar.JarOutputStream outputStreamHolder)
outputStreamHolder
- public void addDirEntry(java.lang.String dirPath) throws java.io.IOException
addDirEntry
in class AbstractStaticWeaveOutputHandler
dirPath
- java.io.IOException
public void addEntry(java.util.jar.JarEntry targetEntry, byte[] entryBytes) throws java.io.IOException
addEntry
in class AbstractStaticWeaveOutputHandler
targetEntry
- entryBytes
- java.io.IOException
public void addEntry(java.io.InputStream jis, java.util.jar.JarEntry entry) throws java.io.IOException, java.net.URISyntaxException
addEntry
in class AbstractStaticWeaveOutputHandler
jis
- entry
- java.io.IOException
java.net.URISyntaxException
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference