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