org.codehaus.mojo.natives.c
Class AbstractCCompiler

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.codehaus.mojo.natives.compiler.AbstractCompiler
          extended by org.codehaus.mojo.natives.c.AbstractCCompiler
All Implemented Interfaces:
org.codehaus.mojo.natives.compiler.Compiler, org.codehaus.plexus.logging.LogEnabled
Direct Known Subclasses:
CCompiler, CCompilerClassic

public abstract class AbstractCCompiler
extends org.codehaus.mojo.natives.compiler.AbstractCompiler

Version:
$Id: AbstractCCompiler.java 6588 2008-03-28 12:22:57Z bentmann $
Author:
Dan Tran

Field Summary
 
Fields inherited from interface org.codehaus.mojo.natives.compiler.Compiler
ROLE
 
Constructor Summary
AbstractCCompiler()
           
 
Method Summary
protected  org.codehaus.plexus.util.cli.Commandline getCommandLine(java.io.File srcFile, java.io.File destFile, org.codehaus.mojo.natives.compiler.CompilerConfiguration config)
          Setup Compiler Command line
protected abstract  java.lang.String getOutputFileOption()
           
protected  org.codehaus.mojo.natives.parser.Parser getParser()
           
 
Methods inherited from class org.codehaus.mojo.natives.compiler.AbstractCompiler
compile, getObjectFile, getObjectFileExtension
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCCompiler

public AbstractCCompiler()
Method Detail

getOutputFileOption

protected abstract java.lang.String getOutputFileOption()

getParser

protected org.codehaus.mojo.natives.parser.Parser getParser()
Specified by:
getParser in class org.codehaus.mojo.natives.compiler.AbstractCompiler

getCommandLine

protected org.codehaus.plexus.util.cli.Commandline getCommandLine(java.io.File srcFile,
                                                                  java.io.File destFile,
                                                                  org.codehaus.mojo.natives.compiler.CompilerConfiguration config)
                                                           throws org.codehaus.mojo.natives.NativeBuildException
Setup Compiler Command line

Specified by:
getCommandLine in class org.codehaus.mojo.natives.compiler.AbstractCompiler
Throws:
org.codehaus.mojo.natives.NativeBuildException


Copyright © 2009. All Rights Reserved.