com.sun.javacard.ant.tasks
Class JavacardTaskBase

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.tools.ant.taskdefs.Java
              extended bycom.sun.javacard.ant.tasks.JavacardTaskBase
Direct Known Subclasses:
APDUToolTask, CapgenTask, ConverterTask, Exp2TextTask, MaskgenTask, ScriptgenTask, VerifierTask

public abstract class JavacardTaskBase
extends org.apache.tools.ant.taskdefs.Java

This class serves as the base class for all Java Card ant tasks


Field Summary
protected static java.lang.String bundleName
           
protected static java.util.ResourceBundle messages
          properties bundle file that has the internationalized messages
protected  boolean noBanner
          Sets the noBanner option for java card tools
protected  boolean version
          Sets the version option for java card tools
 
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
JavacardTaskBase()
           
 
Method Summary
 void setNoBanner(boolean on)
          switches the nobanner flag on or off
 void setupCommonOptions()
          Sets the nobanner option (if it is true) on the command line
 void setVersion(boolean on)
          switches the version flag on or off
 
Methods inherited from class org.apache.tools.ant.taskdefs.Java
addAssertions, addConfiguredRedirector, addEnv, addSysproperty, addSyspropertyset, clearArgs, createArg, createBootclasspath, createClasspath, createJvmarg, createPermissions, createWatchdog, execute, 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

bundleName

protected static final java.lang.String bundleName
See Also:
Constant Field Values

noBanner

protected boolean noBanner
Sets the noBanner option for java card tools


version

protected boolean version
Sets the version option for java card tools


messages

protected static java.util.ResourceBundle messages
properties bundle file that has the internationalized messages

Constructor Detail

JavacardTaskBase

public JavacardTaskBase()
Method Detail

setNoBanner

public void setNoBanner(boolean on)
switches the nobanner flag on or off

Parameters:
on - switches the verbose flag, default is off

setVersion

public void setVersion(boolean on)
switches the version flag on or off

Parameters:
on - switches the verbose flag, default is off

setupCommonOptions

public void setupCommonOptions()
Sets the nobanner option (if it is true) on the command line



Copyright © 2005 Sun Microsystems, Inc. 4150 Network Circle,
Santa Clara, CA-95054, U.S.A. All Rights Reserved.