net.sf.cglib.transform
Class AbstractTransformTask

java.lang.Object
  extended by Task
      extended by net.sf.cglib.transform.AbstractProcessTask
          extended by net.sf.cglib.transform.AbstractTransformTask

public abstract class AbstractTransformTask
extends AbstractProcessTask


Constructor Summary
AbstractTransformTask()
           
 
Method Summary
protected  org.objectweb.asm.Attribute[] attributes()
           
protected abstract  ClassTransformer getClassTransformer(String[] classInfo)
          returns transformation for source class
protected  int getFlags()
           
protected  boolean isClassFile(File file)
           
protected  boolean isJarFile(File file)
           
protected  void processFile(File file)
           
protected  void processJarFile(File file)
           
 void setVerbose(boolean verbose)
           
 
Methods inherited from class net.sf.cglib.transform.AbstractProcessTask
addFileset, beforeExecute, execute, getFiles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTransformTask

public AbstractTransformTask()
Method Detail

setVerbose

public void setVerbose(boolean verbose)

getClassTransformer

protected abstract ClassTransformer getClassTransformer(String[] classInfo)
returns transformation for source class

Parameters:
classInfo - class information class name := classInfo[ 0 ] super class name := classInfo[ 1 ] interfaces := classInfo[ >1 ]

attributes

protected org.objectweb.asm.Attribute[] attributes()

processFile

protected void processFile(File file)
                    throws Exception
Specified by:
processFile in class AbstractProcessTask
Throws:
Exception

getFlags

protected int getFlags()

isClassFile

protected boolean isClassFile(File file)
                       throws IOException
Throws:
IOException

processJarFile

protected void processJarFile(File file)
                       throws Exception
Throws:
Exception

isJarFile

protected boolean isJarFile(File file)
                     throws IOException
Throws:
IOException


Copyright © 2012 Oracle Corporation. All Rights Reserved.