public class StaticWeaveDirectoryOutputHandler extends AbstractStaticWeaveOutputHandler
Constructor and Description |
---|
StaticWeaveDirectoryOutputHandler(java.net.URL source,
java.net.URL target)
Construct an instance of StaticWeaveDirectoryOutputHandler.
|
Modifier and Type | Method and Description |
---|---|
void |
addDirEntry(java.lang.String dirPath)
create directory into target directory.
|
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 invoked if class has been tranformed
|
closeOutputStream, getOutputStream
public StaticWeaveDirectoryOutputHandler(java.net.URL source, java.net.URL target)
source
- target
- 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