com.github.maven_nar.cpptasks.arm
Class ADSLibrarian

java.lang.Object
  extended by com.github.maven_nar.cpptasks.compiler.AbstractProcessor
      extended by com.github.maven_nar.cpptasks.compiler.AbstractLinker
          extended by com.github.maven_nar.cpptasks.compiler.CommandLineLinker
              extended by com.github.maven_nar.cpptasks.arm.ADSLibrarian
All Implemented Interfaces:
Linker, Processor, Cloneable

public class ADSLibrarian
extends CommandLineLinker

Adapter for ARM Librarian

Author:
Curt Arnold

Field Summary
 
Fields inherited from class com.github.maven_nar.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
 
Method Summary
protected  String getCommandFileSwitch(String commandFile)
           
static ADSLibrarian getInstance()
           
 File[] getLibraryPath()
          returns the library path for the linker
 String[] getLibraryPatterns(String[] libnames, LibraryTypeEnum libType)
          Returns a set of filename patterns corresponding to library names.
 Linker getLinker(LinkType linkType)
          Gets the linker for the specified link type.
protected  int getMaximumCommandLength()
           
protected  String[] getOutputFileSwitch(String outputFile)
           
 boolean isCaseSensitive()
          Returns true if the linker is case-sensitive
 
Methods inherited from class com.github.maven_nar.cpptasks.compiler.CommandLineLinker
addBase, addEntry, addFixed, addImpliedArgs, addIncremental, addLibrarySets, addMap, addStack, createConfiguration, decorateLinkerOption, getCommand, getCommandWithPath, getIdentifier, getLibtoolLinker, getOutputFileNames, getOutputFileSwitch, getStartupObject, link, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommand
 
Methods inherited from class com.github.maven_nar.cpptasks.compiler.AbstractLinker
addVersionFiles, bid, changeEnvironment, createConfiguration, getLibraryKey
 
Methods inherited from class com.github.maven_nar.cpptasks.compiler.AbstractProcessor
clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static ADSLibrarian getInstance()

getCommandFileSwitch

protected String getCommandFileSwitch(String commandFile)
Specified by:
getCommandFileSwitch in class CommandLineLinker

getLibraryPath

public File[] getLibraryPath()
Description copied from interface: Linker
returns the library path for the linker


getLibraryPatterns

public String[] getLibraryPatterns(String[] libnames,
                                   LibraryTypeEnum libType)
Description copied from interface: Linker
Returns a set of filename patterns corresponding to library names. For example, "advapi32" would be expanded to "advapi32.dll" by DevStudioLinker and to "libadvapi32.a" and "libadvapi32.so" by GccLinker.

Parameters:
libnames - array of library names

getLinker

public Linker getLinker(LinkType linkType)
Description copied from interface: Linker
Gets the linker for the specified link type.

Returns:
appropriate linker or null, will return this if this linker can handle the specified link type

getMaximumCommandLength

protected int getMaximumCommandLength()
Specified by:
getMaximumCommandLength in class CommandLineLinker

getOutputFileSwitch

protected String[] getOutputFileSwitch(String outputFile)
Specified by:
getOutputFileSwitch in class CommandLineLinker

isCaseSensitive

public boolean isCaseSensitive()
Description copied from interface: Linker
Returns true if the linker is case-sensitive



Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.