Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/ant
/ functions
Functions
14,300 in github.com/apache/ant
⨍
Functions
14,300
◇
Types & classes
1,839
↓ 14 callers
Method
get
Get a localproperties for the given project. @param project the project to retrieve the localproperties for. @return the localproperties.
src/main/org/apache/tools/ant/property/LocalProperties.java:40
↓ 14 callers
Method
getClearToolCommand
Builds and returns the command string to execute cleartool @return String containing path to the executable
src/main/org/apache/tools/ant/taskdefs/optional/clearcase/ClearCase.java:129
↓ 14 callers
Method
getExternalAttributes
Retrieves the external file attributes. @return the external file attributes @since 1.1
src/main/org/apache/tools/zip/ZipEntry.java:238
↓ 14 callers
Method
getHeaderId
The Header-ID. @return the header id @since 1.1
src/main/org/apache/tools/zip/ZipExtraField.java:40
↓ 14 callers
Method
getHelper
Returns a helper for the given class, either from the cache or by creating a new instance. @param c The class for which a helper is required.
src/main/org/apache/tools/ant/IntrospectionHelper.java:330
↓ 14 callers
Method
getJdkExecutable
Finds an executable that is part of a JDK installation based on the java.home system property. <p>You typically find them in <code>JAVA_HOME/bin</cod
src/main/org/apache/tools/ant/util/JavaEnvUtils.java:398
↓ 14 callers
Method
getLineNumber
@return the line number @since Ant 1.6
src/main/org/apache/tools/ant/Location.java:113
↓ 14 callers
Method
getMode
Get this entry's mode. @return This entry's mode.
src/main/org/apache/tools/tar/TarEntry.java:618
↓ 14 callers
Method
getName
Get the name of this FileResource. If the basedir is set, the name will be relative to that. Otherwise the basename only will be returned. @return t
src/main/org/apache/tools/ant/types/resources/FileResource.java:166
↓ 14 callers
Method
getNextEntry
Get the next entry in this tar archive. This will skip over any remaining data in the current entry, if there is one, and place the input stream at th
src/main/org/apache/tools/tar/TarInputStream.java:260
↓ 14 callers
Method
getRef
Performs the check for circular references and returns the referenced FileSet. This method can be overridden together with {@link ArchiveFileSet#getRe
src/main/org/apache/tools/ant/types/AbstractFileSet.java:585
↓ 14 callers
Method
getRefId
Get the reference id of this reference. @return the reference id
src/main/org/apache/tools/ant/types/Reference.java:79
↓ 14 callers
Method
getReferencedObject
Resolve the reference, using the associated project if it set, otherwise use the passed in project. @param <T> desired object type @param fallback the
src/main/org/apache/tools/ant/types/Reference.java:111
↓ 14 callers
Method
getResourceSource
Find the directory or a give resource has been loaded from. @param c the classloader to be consulted for the source @param resource the resource whos
src/main/org/apache/tools/ant/util/LoaderUtils.java:112
↓ 14 callers
Method
getRuntime
Get the runtime attribute. @return the runtime attribute @since Ant 1.10.4
src/main/org/apache/tools/ant/taskdefs/Property.java:427
↓ 14 callers
Method
getTimestamp
()
src/main/org/apache/tools/ant/taskdefs/Touch.java:325
↓ 14 callers
Method
getVsspath
Gets the vssserverpath string. @return null if vssserverpath is not set.
src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java:385
↓ 14 callers
Method
hasFlag
Check the options has a particular flag set. @param options an <code>int</code> value @param flag an <code>int</code> value @return true if the flag
src/main/org/apache/tools/ant/util/regexp/RegexpUtil.java:35
↓ 14 callers
Method
isFile
Check if this is a "normal file". @return <i>true</i> if it is a 'normal' file
src/main/org/apache/tools/tar/TarEntry.java:772
↓ 14 callers
Method
isLegalCharacter
Is the given character allowed inside an XML document? <p>See XML 1.0 2.2 <a href="https://www.w3.org/TR/1998/REC-xml-19980210#charsets"> https://www
src/main/org/apache/tools/ant/util/DOMElementWriter.java:590
↓ 14 callers
Method
isSymbolicLink
tell if a file is a symbolic link @return <code>true</code> for symbolic links
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java:1045
↓ 14 callers
Method
name
()
src/main/org/apache/tools/ant/ProjectHelper.java:138
↓ 14 callers
Method
putNextEntry
Put the specified entry into the archive. @throws Zip64RequiredException if the entry's uncompressed or compressed size is known to exceed 4 GByte an
src/main/org/apache/tools/zip/ZipOutputStream.java:738
↓ 14 callers
Method
resolveFile
Correct a file path to correspond to the remote host requirements. This implementation currently assumes that the remote end can handle Unix-style pat
src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTaskMirrorImpl.java:1262
↓ 14 callers
Method
setOwningTarget
Sets the target container of this task. @param target Target in whose scope this task belongs. May be <code>null</code>, indicating a t
src/main/org/apache/tools/ant/Task.java:94
↓ 14 callers
Method
setTargetdir
The name of the file or directory which is checked for matching files. @param targetdir the directory to scan looking for matching files.
src/main/org/apache/tools/ant/types/selectors/PresentSelector.java:76
↓ 14 callers
Method
sort
Sorts the read lines (<code>lines</code>) according to the sorting criteria defined by the user.
src/main/org/apache/tools/ant/filters/SortFilter.java:349
↓ 13 callers
Method
addBean
Add a single object into the script context. @param key the name in the context this object is to stored under. @param bean the object to be stored i
src/main/org/apache/tools/ant/util/ScriptRunnerBase.java:94
↓ 13 callers
Method
addBuildListener
Add a build listener to the list. This listener will be notified of build events for this project. @param listener The listener to add to the list.
src/main/org/apache/tools/ant/Project.java:390
↓ 13 callers
Method
assumeJava1_8Plus
Shall we assume JDK 1.8+ command line switches? @return true if jdk 1.8 and above @since Ant 1.10.7
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java:793
↓ 13 callers
Method
bindToOwner
Bind a task to another; use this when configuring a newly created task to do work on behalf of another. Project, OwningTarget, TaskName, Location and
src/main/org/apache/tools/ant/Task.java:468
↓ 13 callers
Method
canEncode
Check, whether the given string may be losslessly encoded using this encoding. @param name A filename or ZIP comment. @return Whether the given name
src/main/org/apache/tools/zip/ZipEncoding.java:52
↓ 13 callers
Method
clone
Clone this section @return the cloned Section @since Ant 1.5.2
src/main/org/apache/tools/ant/taskdefs/Manifest.java:677
↓ 13 callers
Method
dieOnCircularReference
Overrides the version of DataType to recurse on all DataType child elements that may have been added. @param stk the stack of data types to use (recur
src/main/org/apache/tools/ant/types/Path.java:494
↓ 13 callers
Method
dieOnCircularReference
(Stack<Object> stk, Project p)
src/main/org/apache/tools/ant/types/AbstractFileSet.java:987
↓ 13 callers
Method
equals
Test whether an Object equals this URLResource. @param another the other Object to compare. @return true if the specified Object is equal to this Reso
src/main/org/apache/tools/ant/types/resources/URLResource.java:303
↓ 13 callers
Method
eval
Is this condition true? @return true if the condition is true @exception BuildException if an error occurs
src/main/org/apache/tools/ant/taskdefs/condition/Condition.java:33
↓ 13 callers
Method
genComponentName
Map a namespaced {uri,name} to an internal string format. For BC purposes the names from the ant core uri will be mapped to "name", other names will b
src/main/org/apache/tools/ant/ProjectHelper.java:507
↓ 13 callers
Method
getAttributes
Gets this macro's attribute (and define?) list. @return the nested Attributes
src/main/org/apache/tools/ant/taskdefs/MacroDef.java:206
↓ 13 callers
Method
getExposedClass
Get the exposed class for this definition. This will be a proxy class (adapted class) if there is an adapter class and the definition class is not ass
src/main/org/apache/tools/ant/AntTypeDefinition.java:151
↓ 13 callers
Method
getInitialized
Returns the initialized status. @return whether or not the filter is initialized
src/main/org/apache/tools/ant/filters/BaseFilterReader.java:136
↓ 13 callers
Method
getJreExecutable
Finds an executable that is part of a JRE installation based on the java.home system property. <p><code>java</code>, <code>keytool</code>, <code>poli
src/main/org/apache/tools/ant/util/JavaEnvUtils.java:357
↓ 13 callers
Method
getLocalFileDataLength
Length of the extra field in the local file data - without Header-ID or length specifier. @return the length of the field in the local file data @sinc
src/main/org/apache/tools/zip/ZipExtraField.java:48
↓ 13 callers
Method
getLocator
access the locator @return locator
src/main/org/apache/tools/ant/helper/AntXMLContext.java:330
↓ 13 callers
Method
getName
Get this entry's name. @return This entry's name.
src/main/org/apache/tools/tar/TarEntry.java:376
↓ 13 callers
Method
getSelectors
Returns the set of selectors as an array. @param p the current project @return an array of selectors in this container
src/main/org/apache/tools/ant/types/selectors/SelectorContainer.java:52
↓ 13 callers
Method
getTask
Returns the task field, a ServerDeploy object. @return An ServerDeploy representing the parent task.
src/main/org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.java:119
↓ 13 callers
Method
handle
(String msg)
src/main/org/apache/tools/ant/taskdefs/Delete.java:806
↓ 13 callers
Method
handleError
Throws an exception with the given message if failOnError is true, otherwise logs the message using the WARN level. @param msg String @since Ant 1.8.
src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java:1427
↓ 13 callers
Method
hasNext
()
src/tests/junit/org/apache/tools/ant/types/resources/LazyResourceCollectionTest.java:72
↓ 13 callers
Method
hasSelectors
Indicates whether there are any selectors here. @return whether any selectors are in this container
src/main/org/apache/tools/ant/types/selectors/SelectorContainer.java:38
↓ 13 callers
Method
header
(PrintStream out, String section)
src/main/org/apache/tools/ant/Diagnostics.java:342
↓ 13 callers
Method
isAbsolute
FTP files are stored as absolute paths @return true
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java:275
↓ 13 callers
Method
killedProcess
Test for an untimely death of the process. @return true if a watchdog had to kill the process. @since Ant 1.5
src/main/org/apache/tools/ant/taskdefs/Execute.java:595
↓ 13 callers
Method
putShort
put the value as two bytes in big endian byte order. @param value the Java int to convert to bytes @param buf the output buffer @param offset
src/main/org/apache/tools/zip/ZipShort.java:81
↓ 13 callers
Method
read
Return the next character in the filtered stream. @return the next character in the resulting stream, or -1 if the end of the resulting strea
src/main/org/apache/tools/ant/filters/FixCrLfFilter.java:294
↓ 13 callers
Method
resolveFile
Resolve a filename with Project's help - if we know one that is.
src/main/org/apache/tools/ant/types/Path.java:513
↓ 13 callers
Method
setBaseDir
Set the base directory for the project, checking that the given file exists and is a directory. @param baseDir The project base directory.
src/main/org/apache/tools/ant/Project.java:855
↓ 13 callers
Method
setDir
(File dir)
src/tests/junit/org/apache/tools/ant/types/resources/MultiRootFileSetTest.java:50
↓ 13 callers
Method
setExtra
Parses the given bytes as extra field data and consumes any unparseable data as an {@link UnparseableExtraFieldData} instance. @param extra an array
src/main/org/apache/tools/zip/ZipEntry.java:521
↓ 13 callers
Method
setFrom
Sets the from part of the transformation rule. @param from a string.
src/main/org/apache/tools/ant/util/FileNameMapper.java:38
↓ 13 callers
Method
setHeader
Sets the named header to the given value. RFC 822 provides the rules for what text may constitue a header name and value. @param name name of the hea
src/main/org/apache/tools/mail/MailMessage.java:261
↓ 13 callers
Method
setProjectReference
Set a reference to this Project on the parameterized object. Need to set the project before other set/add elements are called. @param obj the object t
src/main/org/apache/tools/ant/Project.java:2459
↓ 13 callers
Method
setSecurityManager
To be used by tasks wishing to use this security model before executing the part to be subject to these Permissions. Note that setting the SecurityMan
src/main/org/apache/tools/ant/types/Permissions.java:113
↓ 13 callers
Method
setValue
Set the value of this Header. @param value the value to set.
src/main/org/apache/tools/ant/taskdefs/email/Header.java:51
↓ 13 callers
Method
toLongString
Get a long String representation of this Resource. This typically should be the value of <code>toString()</code> prefixed by a type description. @retu
src/main/org/apache/tools/ant/types/Resource.java:400
↓ 13 callers
Method
toString
()
src/main/org/apache/tools/ant/util/LayoutPreservingProperties.java:636
↓ 12 callers
Method
addChild
Adds a child element to this element. @param child The child element to add. Must not be <code>null</code>.
src/main/org/apache/tools/ant/UnknownElement.java:318
↓ 12 callers
Method
assertFileIsPresent
(String f)
src/tests/junit/org/apache/tools/ant/taskdefs/SyncTest.java:165
↓ 12 callers
Method
doTarget
(String target)
src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java:866
↓ 12 callers
Method
equals
equality test checks all the member variables @param other object to compare @return true if everything is equal
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:2069
↓ 12 callers
Method
executeDrawOperation
Abstract method which is intended to create an image buffer and return it so it can be drawn into another object. Use an Alpha channel for a "transpa
src/main/org/apache/tools/ant/types/optional/imageio/DrawOperation.java:38
↓ 12 callers
Method
executeTargets
Execute the specified Targets for the specified Project. @param project the Ant Project. @param targetNames String[] of Target names as specif
src/main/org/apache/tools/ant/Executor.java:33
↓ 12 callers
Method
exit
This operation is expected to call {@link System#exit(int)}, which is what the base version does. However, it is possible to do something else. @param
src/main/org/apache/tools/ant/Main.java:250
↓ 12 callers
Method
getBasedir
Return the base directory to be scanned. This is the directory which is scanned recursively. @return the base directory to be scanned.
src/main/org/apache/tools/ant/DirectoryScanner.java:656
↓ 12 callers
Method
getJavaHome
Return the value of ${java.home} @return the java home value.
src/main/org/apache/tools/ant/util/JavaEnvUtils.java:556
↓ 12 callers
Method
getJavaVersion
Returns the version of Java this class is running under. <p>Up until Java 8 Java version numbers were 1.VERSION - e.g. 1.8.x for Java 8, starting wit
src/main/org/apache/tools/ant/util/JavaEnvUtils.java:240
↓ 12 callers
Method
getParameters
Returns the parameters to be used by this filter. @return the parameters to be used by this filter
src/main/org/apache/tools/ant/filters/BaseParamFilterReader.java:71
↓ 12 callers
Method
getRef
Performs the check for circular references and returns the referenced object. This method must be overridden together with {@link AbstractFileSet#getR
src/main/org/apache/tools/ant/types/ArchiveFileSet.java:213
↓ 12 callers
Method
getSeparator
()
src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTask.java:357
↓ 12 callers
Method
getTask
Get the task @return the task
src/main/org/apache/tools/ant/util/WorkerAnt.java:98
↓ 12 callers
Method
getTaskName
Returns the name to use in logging messages. @return the name to use in logging messages.
src/main/org/apache/tools/ant/Task.java:123
↓ 12 callers
Method
handleError
Handle errors based on the setting of failonerror. @param msg The message to log, or include in the <code>BuildException</code>.
src/main/org/apache/tools/ant/taskdefs/optional/unix/Symlink.java:434
↓ 12 callers
Method
handleErrorFlush
Handle output sent to System.err. @param output coming from System.err
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskMirror.java:153
↓ 12 callers
Method
handleErrorOutput
Handle output sent to System.err. @param output output for System.err
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskMirror.java:160
↓ 12 callers
Method
handleFlush
Handle output sent to System.out. @param output output for System.out.
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskMirror.java:187
↓ 12 callers
Method
handleOutput
Handle output sent to System.out. @param output output for System.out.
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskMirror.java:167
↓ 12 callers
Method
info
Log a message with <code>MSG_INFO</code> priority @param message the message to log
src/main/org/apache/tools/ant/util/TaskLogger.java:44
↓ 12 callers
Method
isDirectory
Tells if the resource is a directory. @return boolean whether the resource is a directory.
src/main/org/apache/tools/ant/types/resources/URLResource.java:277
↓ 12 callers
Method
isGreaterThanOrEqual
Return <code>true</code> if this <code>DeweyDecimal</code> is greater than or equal to the other <code>DeweyDecimal</code>. @param other the other De
src/main/org/apache/tools/ant/util/DeweyDecimal.java:176
↓ 12 callers
Method
isIncluded
Test whether or not a name matches against at least one include pattern. @param name The path to match. Must not be <code>null</code>. @return <code>
src/main/org/apache/tools/ant/DirectoryScanner.java:1371
↓ 12 callers
Method
isJavaVersion
Compares the current Java version to the passed in String - assumes the argument is one of the constants defined in this class. Note that Ant now requ
src/main/org/apache/tools/ant/util/JavaEnvUtils.java:281
↓ 12 callers
Method
newInstance
()
src/main/org/apache/tools/ant/filters/FixCrLfFilter.java:988
↓ 12 callers
Method
newSAXParser
@return a new SAXParser instance as helper for getParser and getXMLReader. @since Ant 1.5
src/main/org/apache/tools/ant/util/JAXPUtils.java:214
↓ 12 callers
Method
openConnection
(final URL aSource, final String uname, final String pword)
src/main/org/apache/tools/ant/taskdefs/Get.java:749
↓ 12 callers
Method
parseName
Parse an entry name from a buffer. Parsing stops when a NUL is found or the buffer length is reached. @param buffer The buffer from which to parse. @
src/main/org/apache/tools/tar/TarUtils.java:265
↓ 12 callers
Method
read
{@inheritDoc}
src/main/org/apache/tools/bzip2/CBZip2InputStream.java:168
↓ 12 callers
Method
rename
Renames a file, even if that involves crossing file system boundaries. <p>This will remove <code>to</code> (if it exists), ensure that <code>to</code
src/main/org/apache/tools/ant/util/FileUtils.java:1462
↓ 12 callers
Method
scan
Scan for files which match at least one include pattern and don't match any exclude patterns. If there are selectors then the files must pass muster t
src/main/org/apache/tools/ant/DirectoryScanner.java:844
↓ 12 callers
Method
setClassname
Set name of class to be used as the formatter. <p>This class must implement <code>JUnitResultFormatter</code></p> @param classname the name of the fo
src/main/org/apache/tools/ant/taskdefs/optional/junit/FormatterElement.java:129
← previous
next →
401–500 of 14,300, ranked by callers