org.apache.tools.ant.taskdefs.optional.native2ascii
Class KaffeNative2Ascii

java.lang.Object
  |
  +--org.apache.tools.ant.taskdefs.optional.native2ascii.DefaultNative2Ascii
        |
        +--org.apache.tools.ant.taskdefs.optional.native2ascii.KaffeNative2Ascii
All Implemented Interfaces:
Native2AsciiAdapter

public final class KaffeNative2Ascii
extends DefaultNative2Ascii

Adapter to kaffe.tools.native2ascii.Native2Ascii.

Since:
Ant 1.6.3

Field Summary
static java.lang.String IMPLEMENTATION_NAME
          Identifies this adapter.
 
Constructor Summary
KaffeNative2Ascii()
           
 
Method Summary
protected  boolean run(Commandline cmd, ProjectComponent log)
          Executes the command.
protected  void setup(Commandline cmd, Native2Ascii args)
          Sets up the initial command line.
 
Methods inherited from class org.apache.tools.ant.taskdefs.optional.native2ascii.DefaultNative2Ascii
addFiles, convert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMPLEMENTATION_NAME

public static final java.lang.String IMPLEMENTATION_NAME
Identifies this adapter.

See Also:
Constant Field Values
Constructor Detail

KaffeNative2Ascii

public KaffeNative2Ascii()
Method Detail

setup

protected void setup(Commandline cmd,
                     Native2Ascii args)
              throws BuildException
Description copied from class: DefaultNative2Ascii
Sets up the initial command line.

only the -encoding argument and nested arg elements get handled here.

Overrides:
setup in class DefaultNative2Ascii
Parameters:
cmd - Command line to add to
args - provides the user-setting and access to Ant's logging system.
BuildException

run

protected boolean run(Commandline cmd,
                      ProjectComponent log)
               throws BuildException
Description copied from class: DefaultNative2Ascii
Executes the command.

Specified by:
run in class DefaultNative2Ascii
Parameters:
cmd - Command line to execute
log - provides access to Ant's logging system.
Returns:
whether execution was successful
BuildException


Copyright 2000-2005 Apache Software Foundation. All Rights Reserved.