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
↓ 2 callers
Method
dieOnCircularReference
(Stack<Object> stk, Project p)
src/main/org/apache/tools/ant/taskdefs/optional/extension/ExtensionSet.java:125
↓ 2 callers
Method
dirAndFileAreMutuallyExclusive
()
src/main/org/apache/tools/ant/types/AbstractFileSet.java:1003
↓ 2 callers
Method
directoryIterator
Get an iterator over the child Directories. @return an iterator
src/main/org/apache/tools/ant/taskdefs/optional/ssh/Directory.java:79
↓ 2 callers
Method
displayLibrary
Display the extensions and specifications contained within specified file. @param file the file @throws BuildException if fail to read file
src/main/org/apache/tools/ant/taskdefs/optional/extension/LibraryDisplayer.java:40
↓ 2 callers
Method
displayName
(Class<?> clazz)
src/main/org/apache/tools/ant/types/DataType.java:386
↓ 2 callers
Method
doLink
Conduct the actual construction of a link. @param resource The path of the resource we are linking to. @param link The name of the link we wish to ma
src/main/org/apache/tools/ant/taskdefs/optional/unix/Symlink.java:448
↓ 2 callers
Method
doRemove
(Object o)
src/main/org/apache/tools/ant/util/VectorSet.java:179
↓ 2 callers
Method
doReport
Print a report to the given stream. @param out the stream to print the report to.
src/main/org/apache/tools/ant/Diagnostics.java:285
↓ 2 callers
Method
doValidate
parse the file @param afile the file to validate. @return true if the file validates.
src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java:535
↓ 2 callers
Method
doit
check the file given by getFile().
src/main/org/apache/tools/ant/taskdefs/optional/ccm/CCMCheck.java:158
↓ 2 callers
Method
dosToJavaTime
Converts DOS time to Java time (number of milliseconds since epoch). @param dosTime long @return long
src/main/org/apache/tools/zip/ZipUtil.java:127
↓ 2 callers
Method
encode
Encode a name or value. The encoded result is the same as the input string except that each ',' is replaced by a '\,'. @param string the value to be e
src/main/org/apache/tools/ant/taskdefs/GenerateKey.java:129
↓ 2 callers
Method
encode
(final String s)
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/LegacyXmlResultFormatter.java:388
↓ 2 callers
Method
encodeHighChar
@param c A unicode character in the range from 0x0080 to 0x7f00 @return A Simple8BitChar, if this character is covered by this encoding. A {@c
src/main/org/apache/tools/zip/Simple8BitZipEncoding.java:178
↓ 2 callers
Method
encodeString
Encode a string to the output.
src/main/org/apache/tools/ant/util/UUEncoder.java:84
↓ 2 callers
Method
encodeURI
Encodes an Uri with % characters. The URI is escaped @param path String to encode. @return The encoded string, according to URI norms @since Ant 1.7
src/main/org/apache/tools/ant/launch/Locator.java:268
↓ 2 callers
Method
end
()
src/main/org/apache/tools/ant/taskdefs/optional/ssh/AbstractSshMessage.java:284
↓ 2 callers
Method
endBlock
()
src/main/org/apache/tools/bzip2/CBZip2OutputStream.java:790
↓ 2 callers
Method
endBlock
()
src/main/org/apache/tools/bzip2/CBZip2InputStream.java:364
↓ 2 callers
Method
endExecution
@since 1.10.3
src/main/org/apache/tools/ant/taskdefs/VerifyJar.java:131
↓ 2 callers
Method
endTest
Interface TestListener. <p>A Test is finished. @param test the test.
src/main/org/apache/tools/ant/taskdefs/optional/junit/PlainJUnitResultFormatter.java:186
↓ 2 callers
Method
endTest
A test ended. @param test a test
src/main/org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.java:197
↓ 2 callers
Method
endTest
Interface TestListener. <p>A Test is finished. @param test the test.
src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java:236
↓ 2 callers
Method
endTestSuite
The whole testsuite ended. @param suite the suite. @throws BuildException on error.
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitResultFormatter.java:46
↓ 2 callers
Method
ensureDirectoryFor
Ensure the directory exists for a given file @param targetFile the file for which the directories are required. @exception BuildException if the dire
src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java:917
↓ 2 callers
Method
ensureDirectoryScannerSetup
()
src/main/org/apache/tools/ant/types/resources/Files.java:464
↓ 2 callers
Method
equals
{@inheritDoc}
src/main/org/apache/tools/zip/ZipEntry.java:774
↓ 2 callers
Method
equals
Test for equality with this ResourceComparator. @param o the Object to compare against. @return true if the specified Object equals this one.
src/main/org/apache/tools/ant/types/resources/comparators/ResourceComparator.java:51
↓ 2 callers
Method
equals
(Object o)
src/main/org/apache/tools/ant/taskdefs/optional/EchoProperties.java:404
↓ 2 callers
Method
equals
Determine if the two entries are equal. Equality is determined by the header names being equal. @param it Entry to be checked for equality. @return T
src/main/org/apache/tools/tar/TarEntry.java:333
↓ 2 callers
Method
equivalent
Tell if CharSet values are aliases. @param cs CharSet to compare the value to. @return true if CharSet values are aliases.
src/main/org/apache/tools/ant/types/CharSet.java:85
↓ 2 callers
Method
escape
Escape the string <code>s</code> according to the rules in the docs for <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html">
src/main/org/apache/tools/ant/util/LayoutPreservingProperties.java:537
↓ 2 callers
Method
eval
comparison method of the interface @return true if the files are equal @exception BuildException if it all went pear-shaped
src/main/org/apache/tools/ant/taskdefs/condition/FilesMatch.java:79
↓ 2 callers
Method
eval
@since Ant 1.5 @return true if the substring is within the string @exception BuildException if the attributes are not set correctly
src/main/org/apache/tools/ant/taskdefs/condition/Contains.java:66
↓ 2 callers
Method
evalAsBooleanOrPropertyName
Returns true if the value can be interpreted as a true value or cannot be interpreted as a false value and a property of the value's name exists. @par
src/main/org/apache/tools/ant/PropertyHelper.java:1203
↓ 2 callers
Method
exec
(Project project, String[] cmd, String[] env, File workingDir)
src/tests/junit/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskTest.java:621
↓ 2 callers
Method
execSQL
Exec the sql statement. @param sql the SQL statement to execute @param out the place to put output @throws SQLException on SQL problems
src/main/org/apache/tools/ant/taskdefs/SQLExec.java:785
↓ 2 callers
Method
execute
Executes the target if the "if" and "unless" conditions are satisfied. Dependency checking should be done before calling this method, as it does no ch
src/main/org/apache/tools/ant/Target.java:427
↓ 2 callers
Method
execute
Execute the Java class against the specified Ant Project. @param project the Project to use. @throws BuildException on error.
src/main/org/apache/tools/ant/taskdefs/ExecuteJava.java:118
↓ 2 callers
Method
execute
Execute the parallel tasks @exception BuildException if any of the threads failed.
src/main/org/apache/tools/ant/taskdefs/Parallel.java:203
↓ 2 callers
Method
execute
Execute the task. @throws BuildException on error.
src/main/org/apache/tools/ant/taskdefs/optional/PropertyFile.java:165
↓ 2 callers
Method
execute
()
src/main/org/apache/tools/ant/taskdefs/optional/windows/Mklink.java:100
↓ 2 callers
Method
execute
Carry out the transfer. @throws IOException on i/o errors @throws JSchException on errors detected by scp
src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpToMessage.java:229
↓ 2 callers
Method
execute
()
src/tests/junit/org/apache/tools/ant/taskdefs/optional/RpmTest.java:57
↓ 2 callers
Method
executeAsForked
Execute a testcase by forking a new JVM. The command will block until it finishes. To know if the process was destroyed or not or whether the forked J
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:1151
↓ 2 callers
Method
executeCommand
(final Session session, final String cmd, final StringBuilder sb)
src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java:422
↓ 2 callers
Method
executeMain
Build the zip file. This is called twice if doubleFilePass is true. @throws BuildException on error
src/main/org/apache/tools/ant/taskdefs/Zip.java:645
↓ 2 callers
Method
executeScript
Executes the script. @param attributes collection of attributes @param elements a list of nested element values. @deprecated since 1.7. U
src/main/org/apache/tools/ant/taskdefs/optional/script/ScriptDef.java:374
↓ 2 callers
Method
executeSortedTargets
Execute a <code>Vector</code> of sorted targets. @param sortedTargets the aforementioned <code>Vector</code>. @throws BuildException on error.
src/main/org/apache/tools/ant/Project.java:1382
↓ 2 callers
Method
executeTarget
Execute the specified target and any targets it depends on. @param targetName The name of the target to execute. Must not be <code>
src/main/org/apache/tools/ant/Project.java:1360
↓ 2 callers
Method
expandFile
This method is to be overridden by extending unarchival tasks. @param fileUtils the fileUtils @param srcF the source file @param dir the d
src/main/org/apache/tools/ant/taskdefs/Expand.java:181
↓ 2 callers
Method
expandModulePath
Expands a module path to flat path of jars and root folders usable by classloader. @param modulePath to be expanded @return the expanded path @since 1
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:1728
↓ 2 callers
Method
expandStream
@since Ant 1.7
src/main/org/apache/tools/ant/taskdefs/Untar.java:143
↓ 2 callers
Method
expectNameAddress2
(EmailAddress e)
src/tests/junit/org/apache/tools/ant/taskdefs/email/EmailAddressTest.java:113
↓ 2 callers
Method
extractFile
extract a file to a directory @param fileUtils a fileUtils object @param srcF the source file @param dir
src/main/org/apache/tools/ant/taskdefs/Expand.java:254
↓ 2 callers
Method
extractLauncher
(String referenceName, Project project)
src/main/org/apache/tools/ant/taskdefs/launcher/CommandLauncher.java:166
↓ 2 callers
Method
extractNameOrDefault
Get the name of an event @param event the event name @return the name or a default string
src/main/org/apache/tools/ant/listener/BigProjectLogger.java:135
↓ 2 callers
Method
extractProjectName
Get the project name or null @param event the event @return the project that raised this event @since Ant1.7.1
src/main/org/apache/tools/ant/DefaultLogger.java:354
↓ 2 callers
Method
failFast
(FailFast f)
src/main/org/apache/tools/ant/types/resources/FailFast.java:59
↓ 2 callers
Method
file
(Resource r)
src/main/org/apache/tools/ant/types/resources/comparators/FileSystem.java:49
↓ 2 callers
Method
fileToURL
Convert a File to a URL. File.toURL() does not encode characters like #. File.toURI() has been introduced in java 1.4, so Ant cannot use it (except by
src/main/org/apache/tools/ant/launch/Locator.java:336
↓ 2 callers
Method
fileURLPartWithoutLeadingSlashes
(SAXSource result)
src/tests/junit/org/apache/tools/ant/types/XMLCatalogTest.java:103
↓ 2 callers
Method
filesIterator
Get an iterator over the files. @return an iterator
src/main/org/apache/tools/ant/taskdefs/optional/ssh/Directory.java:87
↓ 2 callers
Method
fillBuffer
Fills the internal char buffer from the reader. @throws IOException If an I/O error occurs
src/main/org/apache/tools/ant/util/ReaderInputStream.java:130
↓ 2 callers
Method
fillNonPatternSet
Add all patterns that are not real patterns (do not contain wildcards) to the set and returns the real patterns. @param map Map to populate. @param p
src/main/org/apache/tools/ant/DirectoryScanner.java:1791
↓ 2 callers
Method
filterJvmCompilerArgs
Strip out all -J args from the command list. Invoke this from {@link #preprocessCompilerArgs(String[])} if you have a non-forking compiler. @param com
src/main/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java:329
↓ 2 callers
Method
findBuildFile
Search parent directories for the build file. <p> Takes the given target as a suffix to append to each parent directory in search of a build file. On
src/main/org/apache/tools/ant/Main.java:686
↓ 2 callers
Method
findFile
From <code>base</code> traverse the filesystem in order to find a file that matches the given name. @param base base File (dir). @param cs whether to
src/main/org/apache/tools/ant/types/selectors/TokenizedPath.java:117
↓ 2 callers
Method
findFirstClassSource
(final TestIdentifier root)
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/LegacyXmlResultFormatter.java:419
↓ 2 callers
Method
findNextResource
Locates the next resource of the correct name in the classpath and sets <code>nextResource</code> to the URL of that resource. If no more resources ca
src/main/org/apache/tools/ant/AntClassLoader.java:176
↓ 2 callers
Method
findTargetPosition
Searches for the correct place to insert a name into a list so as to keep the list sorted alphabetically. @param names The current list of names. Mus
src/main/org/apache/tools/ant/Main.java:1192
↓ 2 callers
Method
finish
Finish writing the archive. @throws Zip64RequiredException if the archive's size exceeds 4 GByte or there are more than 65535 entries inside the arch
src/main/org/apache/tools/zip/ZipOutputStream.java:504
↓ 2 callers
Method
finish
()
src/main/org/apache/tools/bzip2/CBZip2OutputStream.java:725
↓ 2 callers
Method
finishTest
(final TestPlan testPlan)
src/tests/junit/org/apache/tools/ant/taskdefs/optional/junitlauncher/LegacyXmlResultFormatterTest.java:107
↓ 2 callers
Method
fireBuildFinished
Send a "build finished" event to the build listeners for this project. @param exception an exception indicating a reason for a build
src/main/org/apache/tools/ant/Project.java:2107
↓ 2 callers
Method
fireBuildFinished
()
src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java:930
↓ 2 callers
Method
fixLineFeeds
(final String orig)
src/main/org/apache/tools/ant/taskdefs/Javadoc.java:2579
↓ 2 callers
Method
flushBlock
Flush the current data block if it has any data in it.
src/main/org/apache/tools/tar/TarBuffer.java:423
↓ 2 callers
Method
fmin
(int a, int b)
src/main/org/apache/tools/bzip2/BlockSort.java:322
↓ 2 callers
Method
foldFiles
(final File[] file, final String logHead, final int loglevel, final boolean append, final boolean
src/main/org/apache/tools/ant/taskdefs/Redirector.java:1041
↓ 2 callers
Method
forEachRemaining
(Consumer<? super T> action)
src/main/org/apache/tools/ant/util/StreamUtils.java:46
↓ 2 callers
Method
forceRemoteSensitivityCheck
()
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java:710
↓ 2 callers
Method
forceRemoteSensitivityCheck
()
src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTaskMirrorImpl.java:587
↓ 2 callers
Method
formatError
(String type, Test test, Throwable t)
src/main/org/apache/tools/ant/taskdefs/optional/junit/PlainJUnitResultFormatter.java:246
↓ 2 callers
Method
formatError
Format an error and print it. @param type the type of error @param test the test that failed @param error the exception that the test threw
src/main/org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.java:252
↓ 2 callers
Method
formatError
(final String type, final Test test, final Throwable t)
src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java:304
↓ 2 callers
Method
formatLongOctalBytes
Write an octal long integer into a buffer. Uses {@link #formatUnsignedOctalString} to format the value as an octal string with leading zeros. The con
src/main/org/apache/tools/tar/TarUtils.java:504
↓ 2 callers
Method
formatOutput
(final String type, final String output)
src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java:327
↓ 2 callers
Method
formatSkip
(Test test, String message)
src/main/org/apache/tools/ant/taskdefs/optional/junit/PlainJUnitResultFormatter.java:273
↓ 2 callers
Method
formatSkip
(Test test, String message)
src/main/org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.java:279
↓ 2 callers
Method
formatSkip
(final Test test, final String message)
src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java:341
↓ 2 callers
Method
formatTest
Format the test for printing.. @param test a test @return the formatted testname
src/main/org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.java:239
↓ 2 callers
Method
frequency
Counts how often the given Object occurs in the given collection using equals() for comparison. @param c collection in which to search @param o objec
src/main/org/apache/tools/ant/util/CollectionUtils.java:255
↓ 2 callers
Method
from
Sets the from address. Also sets the "From" header. This method should be called only once. @param from the from address @exception IOException if t
src/main/org/apache/tools/mail/MailMessage.java:194
↓ 2 callers
Method
fvswap
swaps two intervals starting at yyp1 and yyp2 of length yyn inside fmap.
src/main/org/apache/tools/bzip2/BlockSort.java:313
↓ 2 callers
Method
getA
()
src/tests/junit/org/apache/tools/ant/IntrospectionHelperSetOptionalAttributesTest.java:60
↓ 2 callers
Method
getAbsolutePath
find out the absolute path of the file @return absolute path as string
src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTaskMirrorImpl.java:802
↓ 2 callers
Method
getAccum
()
src/main/org/apache/tools/ant/taskdefs/Length.java:326
↓ 2 callers
Method
getAddDelegateList
()
src/main/org/apache/tools/ant/taskdefs/PropertyHelperTask.java:138
↓ 2 callers
Method
getAddTextMethod
Returns the addText method when the introspected class supports nested text. @return the method on this introspected class that adds nested text.
src/main/org/apache/tools/ant/IntrospectionHelper.java:876
← previous
next →
2,401–2,500 of 14,300, ranked by callers