public class StaticWeaveJAROutputHandler extends AbstractStaticWeaveOutputHandler
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
public StaticWeaveJAROutputHandler(JarOutputStream outputStreamHolder)
outputStreamHolder
- public void addDirEntry(String dirPath) throws IOException
addDirEntry
in class AbstractStaticWeaveOutputHandler
dirPath
- IOException
public void addEntry(JarEntry targetEntry, byte[] entryBytes) throws IOException
addEntry
in class AbstractStaticWeaveOutputHandler
targetEntry
- entryBytes
- IOException
public void addEntry(InputStream jis, JarEntry entry) throws IOException, URISyntaxException
addEntry
in class AbstractStaticWeaveOutputHandler
jis
- entry
- IOException
URISyntaxException
EclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference