|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Java
com.sun.javacard.ant.tasks.JavacardTaskBase
com.sun.javacard.ant.tasks.MaskgenTask
Encapsulates call to Maskgen to generate a mask file from input JCA files
Field Summary | |
protected static java.lang.String |
className
Maskgen class name |
protected java.lang.String |
configFileName
configuration file name |
protected boolean |
debugInfo
indicates if debugInfo flag is to be set or not |
protected java.lang.String |
generator
Generator (could be cref, jref etc) |
protected java.util.ArrayList |
inputJCAs
List of input JCA files |
protected boolean |
mem32BitFlag
flag to indicate if 32-bit reference size is to be used or not |
protected java.lang.String |
outFileName
Output file name |
Fields inherited from class com.sun.javacard.ant.tasks.JavacardTaskBase |
bundleName, messages, noBanner, version |
Fields inherited from class org.apache.tools.ant.taskdefs.Java |
redirector, redirectorElement |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
MaskgenTask()
|
Method Summary | |
void |
addJCAInputFile(JCAInputFile inputFile)
adds an input JCA file |
void |
execute()
Executes the task |
void |
setConfigFile(java.lang.String configName)
sets the configuration file name |
void |
setDebugInfo(boolean on)
|
void |
setGenerator(java.lang.String generator)
sets the generator (cref, jref etc) |
void |
setMemRefSize(int memRefSize)
sets the memory reference size |
void |
setOutFile(java.lang.String outFileName)
sets the output file name |
Methods inherited from class com.sun.javacard.ant.tasks.JavacardTaskBase |
setNoBanner, setupCommonOptions, setVersion |
Methods inherited from class org.apache.tools.ant.taskdefs.Java |
addAssertions, addConfiguredRedirector, addEnv, addSysproperty, addSyspropertyset, clearArgs, createArg, createBootclasspath, createClasspath, createJvmarg, createPermissions, createWatchdog, executeJava, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, maybeSetResultPropertyValue, run, setAppend, setArgs, setClassname, setClasspath, setClasspathRef, setDir, setError, setErrorProperty, setFailonerror, setFork, setInput, setInputString, setJar, setJvm, setJvmargs, setJVMVersion, setLogError, setMaxmemory, setNewenvironment, setOutput, setOutputproperty, setResultProperty, setSpawn, setTimeout, setupRedirector |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final java.lang.String className
protected java.lang.String configFileName
protected boolean mem32BitFlag
protected java.lang.String outFileName
protected java.lang.String generator
protected boolean debugInfo
protected java.util.ArrayList inputJCAs
Constructor Detail |
public MaskgenTask()
Method Detail |
public void setConfigFile(java.lang.String configName)
configName
- the name of the config filepublic void setOutFile(java.lang.String outFileName)
outFileName
- the name of the output filepublic void setMemRefSize(int memRefSize)
memRefSize
- is the size of memory reference in target mask filepublic void setDebugInfo(boolean on)
public void setGenerator(java.lang.String generator)
generator
- stringpublic void addJCAInputFile(JCAInputFile inputFile)
inputFile
- contains input JCA file name or input file name that
contains list of JCA file namespublic void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |