类 AbstractTransformTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- net.sf.cglib.transform.AbstractProcessTask
-
- net.sf.cglib.transform.AbstractTransformTask
-
- 所有已实现的接口:
java.lang.Cloneable
public abstract class AbstractTransformTask extends AbstractProcessTask
-
-
构造器概要
构造器 构造器 说明 AbstractTransformTask()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 protected org.objectweb.asm.Attribute[]attributes()protected abstract ClassTransformergetClassTransformer(java.lang.String[] classInfo)returns transformation for source classprotected intgetFlags()protected booleanisClassFile(java.io.File file)protected booleanisJarFile(java.io.File file)protected voidprocessFile(java.io.File file)protected voidprocessJarFile(java.io.File file)voidsetVerbose(boolean verbose)-
从类继承的方法 net.sf.cglib.transform.AbstractProcessTask
addFileset, beforeExecute, execute, getFiles
-
从类继承的方法 org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
方法详细资料
-
setVerbose
public void setVerbose(boolean verbose)
-
getClassTransformer
protected abstract ClassTransformer getClassTransformer(java.lang.String[] classInfo)
returns transformation for source class- 参数:
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(java.io.File file) throws java.lang.Exception- 指定者:
processFile在类中AbstractProcessTask- 抛出:
java.lang.Exception
-
getFlags
protected int getFlags()
-
isClassFile
protected boolean isClassFile(java.io.File file) throws java.io.IOException- 抛出:
java.io.IOException
-
processJarFile
protected void processJarFile(java.io.File file) throws java.lang.Exception- 抛出:
java.lang.Exception
-
isJarFile
protected boolean isJarFile(java.io.File file) throws java.io.IOException- 抛出:
java.io.IOException
-
-