public abstract class AbstractStaticWeaveOutputHandler
extends java.lang.Object
Constructor and Description |
---|
AbstractStaticWeaveOutputHandler() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addDirEntry(java.lang.String dirPath)
create directory into target directory, or insert directory entry into outputstream.
|
abstract void |
addEntry(java.io.InputStream jis,
java.util.jar.JarEntry entry)
Write entry into target, this method usually copy original class into target.
|
abstract void |
addEntry(java.util.jar.JarEntry targetEntry,
byte[] entryBytes)
Write entry bytes into target, this is usually called if class has been tranformed
|
void |
closeOutputStream()
Close the output stream.
|
java.util.jar.JarOutputStream |
getOutputStream()
Get the ouput stream instance.
|
public abstract void addDirEntry(java.lang.String dirPath) throws java.io.IOException
dirPath
- java.io.IOException
public abstract void addEntry(java.util.jar.JarEntry targetEntry, byte[] entryBytes) throws java.io.IOException
targetEntry
- entryBytes
- java.io.IOException
public abstract void addEntry(java.io.InputStream jis, java.util.jar.JarEntry entry) throws java.io.IOException, java.net.URISyntaxException
jis
- entry
- java.io.IOException
java.net.URISyntaxException
public void closeOutputStream() throws java.io.IOException
java.io.IOException
public java.util.jar.JarOutputStream getOutputStream()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference