public class ByteCodeEnhancerHelper extends Object
| Constructor and Description |
|---|
ByteCodeEnhancerHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
enhanceClassFile(ByteCodeEnhancer enhancer,
InputStream in,
OutputStream out)
Enhances a classfile.
|
static boolean |
enhanceZipFile(ByteCodeEnhancer enhancer,
ZipInputStream zip_in,
ZipOutputStream zip_out)
Enhances a zip file.
|
public static final boolean enhanceClassFile(ByteCodeEnhancer enhancer, InputStream in, OutputStream out) throws EnhancerUserException, EnhancerFatalError
enhancer - The enhancer to delegate the work to.in - The input stream with the Java class.out - The output stream to write the enhanced class to.EnhancerUserException - If something went wrong.EnhancerFatalError - If something went wrong.ByteCodeEnhancer.enhanceClassFile(java.io.InputStream, java.io.OutputStream)public static final boolean enhanceZipFile(ByteCodeEnhancer enhancer, ZipInputStream zip_in, ZipOutputStream zip_out) throws EnhancerUserException, EnhancerFatalError
enhancer - The enhancer.zip_in - The zip input stream.zip_out - The zip output stream.EnhancerUserException - If something went wrong.EnhancerFatalError - If something went wrong.ByteCodeEnhancer.enhanceClassFile(java.io.InputStream, java.io.OutputStream)Copyright © 2013. All Rights Reserved.