From 683d490074d93baa8a47db7ec43b7bd31145a12a Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Thu, 5 Nov 2009 23:00:15 +0100 Subject: Tar file expanded and committed --- .../cpptasks/gcc/AbstractArLibrarian.html | 689 +++++++++++++++++++++ 1 file changed, 689 insertions(+) create mode 100644 site/apidocs/net/sf/antcontrib/cpptasks/gcc/AbstractArLibrarian.html (limited to 'site/apidocs/net/sf/antcontrib/cpptasks/gcc/AbstractArLibrarian.html') diff --git a/site/apidocs/net/sf/antcontrib/cpptasks/gcc/AbstractArLibrarian.html b/site/apidocs/net/sf/antcontrib/cpptasks/gcc/AbstractArLibrarian.html new file mode 100644 index 0000000..830cf9e --- /dev/null +++ b/site/apidocs/net/sf/antcontrib/cpptasks/gcc/AbstractArLibrarian.html @@ -0,0 +1,689 @@ + + + + + + + +AbstractArLibrarian (cpptasks 1.0b5 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +net.sf.antcontrib.cpptasks.gcc +
+Class AbstractArLibrarian

+
+java.lang.Object
+  extended by net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
+      extended by net.sf.antcontrib.cpptasks.compiler.AbstractLinker
+          extended by net.sf.antcontrib.cpptasks.compiler.CommandLineLinker
+              extended by net.sf.antcontrib.cpptasks.gcc.AbstractArLibrarian
+
+
+
All Implemented Interfaces:
java.lang.Cloneable, Linker, Processor
+
+
+
Direct Known Subclasses:
GccLibrarian, GccLibrarian, GccLibrarian
+
+
+
+
public abstract class AbstractArLibrarian
extends CommandLineLinker
+ + +

+Adapter for the "ar" tool +

+ +

+

+
Author:
+
Adam Murdoch, Curt Arnold
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
+  + + + + + + + + + + + +
+Constructor Summary
+protected AbstractArLibrarian(java.lang.String command, + java.lang.String identificationArg, + java.lang.String[] inputExtensions, + java.lang.String[] ignoredExtensions, + java.lang.String outputPrefix, + java.lang.String outputExtension, + boolean isLibtool, + AbstractArLibrarian libtoolLibrarian) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddBase(long base, + java.util.Vector args) + +
+           
+protected  voidaddEntry(java.lang.String entry, + java.util.Vector args) + +
+           
+ voidaddFixed(java.lang.Boolean fixed, + java.util.Vector args) + +
+           
+ voidaddImpliedArgs(boolean debug, + LinkType linkType, + java.util.Vector args) + +
+           
+ voidaddIncremental(boolean incremental, + java.util.Vector args) + +
+           
+ voidaddMap(boolean map, + java.util.Vector args) + +
+           
+ voidaddStack(int stack, + java.util.Vector args) + +
+           
+ java.lang.StringgetCommandFileSwitch(java.lang.String commandFile) + +
+           
+ java.io.File[]getLibraryPath() + +
+          returns the library path for the linker
+ java.lang.String[]getLibraryPatterns(java.lang.String[] libnames, + LibraryTypeEnum libType) + +
+          Returns a set of filename patterns corresponding to library names.
+ intgetMaximumCommandLength() + +
+           
+ java.lang.String[]getOutputFileNames(java.lang.String baseName, + VersionInfo versionInfo) + +
+          Output file name (no path components) corresponding to source file
+ java.lang.String[]getOutputFileSwitch(java.lang.String outputFile) + +
+           
+ booleanisCaseSensitive() + +
+          Returns true if the linker is case-sensitive
+ voidlink(CCTask task, + java.io.File outputFile, + java.lang.String[] sourceFiles, + CommandLineLinkerConfiguration config) + +
+          Performs a link using a command line linker
+ + + + + + + +
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineLinker
addLibrarySets, createConfiguration, decorateLinkerOption, getCommand, getIdentifier, getLibtoolLinker, getOutputFileSwitch, getStartupObject, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommand
+ + + + + + + +
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractLinker
addVersionFiles, bid, changeEnvironment, createConfiguration, getLibraryKey
+ + + + + + + +
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface net.sf.antcontrib.cpptasks.compiler.Linker
getLinker
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractArLibrarian

+
+protected AbstractArLibrarian(java.lang.String command,
+                              java.lang.String identificationArg,
+                              java.lang.String[] inputExtensions,
+                              java.lang.String[] ignoredExtensions,
+                              java.lang.String outputPrefix,
+                              java.lang.String outputExtension,
+                              boolean isLibtool,
+                              AbstractArLibrarian libtoolLibrarian)
+
+
+ + + + + + + + +
+Method Detail
+ +

+addBase

+
+public void addBase(long base,
+                    java.util.Vector args)
+
+
+
Specified by:
addBase in class CommandLineLinker
+
+
+
+
+
+
+ +

+addFixed

+
+public void addFixed(java.lang.Boolean fixed,
+                     java.util.Vector args)
+
+
+
Specified by:
addFixed in class CommandLineLinker
+
+
+
+
+
+
+ +

+addImpliedArgs

+
+public void addImpliedArgs(boolean debug,
+                           LinkType linkType,
+                           java.util.Vector args)
+
+
+
Specified by:
addImpliedArgs in class CommandLineLinker
+
+
+
+
+
+
+ +

+addIncremental

+
+public void addIncremental(boolean incremental,
+                           java.util.Vector args)
+
+
+
Specified by:
addIncremental in class CommandLineLinker
+
+
+
+
+
+
+ +

+addMap

+
+public void addMap(boolean map,
+                   java.util.Vector args)
+
+
+
Specified by:
addMap in class CommandLineLinker
+
+
+
+
+
+
+ +

+addStack

+
+public void addStack(int stack,
+                     java.util.Vector args)
+
+
+
Specified by:
addStack in class CommandLineLinker
+
+
+
+
+
+
+ +

+addEntry

+
+protected void addEntry(java.lang.String entry,
+                        java.util.Vector args)
+
+
+
Specified by:
addEntry in class CommandLineLinker
+
+
+
+
+
+
+ +

+getCommandFileSwitch

+
+public java.lang.String getCommandFileSwitch(java.lang.String commandFile)
+
+
+
Specified by:
getCommandFileSwitch in class CommandLineLinker
+
+
+
+
+
+
+ +

+getLibraryPath

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

+

+
+
+
+
+ +

+getLibraryPatterns

+
+public java.lang.String[] getLibraryPatterns(java.lang.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
+
+
+
+ +

+getMaximumCommandLength

+
+public int getMaximumCommandLength()
+
+
+
Specified by:
getMaximumCommandLength in class CommandLineLinker
+
+
+
+
+
+
+ +

+getOutputFileNames

+
+public java.lang.String[] getOutputFileNames(java.lang.String baseName,
+                                             VersionInfo versionInfo)
+
+
Description copied from interface: Processor
+
Output file name (no path components) corresponding to source file +

+

+
Specified by:
getOutputFileNames in interface Processor
Overrides:
getOutputFileNames in class CommandLineLinker
+
+
+
Parameters:
baseName - input file +
Returns:
output file name or null if no output file or name not + determined by input file
+
+
+
+ +

+getOutputFileSwitch

+
+public java.lang.String[] getOutputFileSwitch(java.lang.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 +

+

+
+
+
+
+ +

+link

+
+public void link(CCTask task,
+                 java.io.File outputFile,
+                 java.lang.String[] sourceFiles,
+                 CommandLineLinkerConfiguration config)
+          throws org.apache.tools.ant.BuildException
+
+
Description copied from class: CommandLineLinker
+
Performs a link using a command line linker +

+

+
Overrides:
link in class CommandLineLinker
+
+
+ +
Throws: +
org.apache.tools.ant.BuildException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + -- cgit v1.2.3