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
Method
expectBuildExceptionContaining
run a target, expect an exception string containing the substring we look for (case sensitive match) @param target target to run @param cause inform
src/tests/junit/org/apache/tools/ant/BuildFileTest.java:429
Method
expectDebuglog
Assert that the given message has been logged with a priority >= VERBOSE when running the given target. @param target String @param log String
src/tests/junit/org/apache/tools/ant/BuildFileTest.java:228
Method
expectLog
Assert that only the given message has been logged with a priority <= INFO when running the given target. @param target String @param log String
src/tests/junit/org/apache/tools/ant/BuildFileTest.java:114
Method
expectLogContaining
Assert that the given message has been logged with a priority <= INFO when running the given target. @param target String @param log String
src/tests/junit/org/apache/tools/ant/BuildFileTest.java:193
Method
expectLogNotContaining
Assert that the given message has not been logged with a priority <= INFO when running the given target. @param target String @param log String
src/tests/junit/org/apache/tools/ant/BuildFileTest.java:205
Method
expectOutput
execute the target, verify output matches expectations @param target target to execute @param output output to look for
src/tests/junit/org/apache/tools/ant/BuildFileTest.java:265
Method
expectOutputAndError
Executes the target, verify output matches expectations and that we got the named error at the end @param target target to execute @param output ou
src/tests/junit/org/apache/tools/ant/BuildFileTest.java:279
Method
expectPropertyUnset
Call a target, verify property is null. @param target build file target @param property property name
src/tests/junit/org/apache/tools/ant/BuildFileTest.java:502
Method
explicitIgnoreTest
()
src/tests/junit/org/example/junit/JUnit4Skippable.java:35
Method
explicitlyIgnoreTestNoMessage
()
src/tests/junit/org/example/junit/JUnit4Skippable.java:47
Method
extract
Do the unbzipping.
src/main/org/apache/tools/ant/taskdefs/BUnzip2.java:59
Method
extract
Implement the gunzipping.
src/main/org/apache/tools/ant/taskdefs/GUnzip.java:54
Method
extract
Implement the gunzipping.
src/main/org/apache/tools/ant/taskdefs/optional/xz/Unxz.java:55
Method
extractTargetName
Override point, extract the target name @param event the event to work on @return the target name -including the owning project name (if non-null)
src/main/org/apache/tools/ant/listener/SimpleBigProjectLogger.java:36
Method
extractVariablePart
Returns the part of the given string that matches the in the "from" pattern replacing file separators with dots @param name Source filen
src/main/org/apache/tools/ant/util/PackageNameMapper.java:40
Method
extractVariablePart
Returns the part of the given string that matches the in the "from" pattern replacing dots with file separators @param name Source filen
src/main/org/apache/tools/ant/util/UnPackageNameMapper.java:42
Method
fail
Utility method for nested scripts; throws a BuildException with the given message. @param message text to pass to the BuildException @throws BuildExce
src/main/org/apache/tools/ant/taskdefs/optional/script/ScriptDefBase.java:128
Method
failingTest
()
src/tests/junit/org/example/junit/JUnit4Skippable.java:59
Method
failingTestNoMessage
()
src/tests/junit/org/example/junit/JUnit4Skippable.java:64
Method
fatalError
record a fatal error @param exception the fatal error
src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java:604
Method
fatalError
Log a fatal error. @param e the exception to log.
src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java:533
Method
fetchEntry
fetches information from the named entry inside the archive.
src/main/org/apache/tools/ant/types/resources/TarResource.java:197
Method
fetchEntry
fetches information from the named entry inside the archive.
src/main/org/apache/tools/ant/types/resources/ZipResource.java:209
Method
fileSize
Get the number of files in the files attribute. @return the number of files
src/main/org/apache/tools/ant/taskdefs/optional/ssh/Directory.java:190
Method
fillMapsFromArchive
Fills the file and directory maps with resources read from the archive. @param src the archive to scan. @param encoding encoding used to encode file
src/main/org/apache/tools/ant/types/ZipScanner.java:54
Method
fillMapsFromArchive
Fills the file and directory maps with resources read from the archive. @param src the archive to scan. @param encoding encoding used to encode file
src/main/org/apache/tools/ant/types/TarScanner.java:51
Method
filter
Called filter the token. This sets the token in this object, calls the script and returns the token. @param token the token to be filtered @return th
src/main/org/apache/tools/ant/types/optional/ScriptFilter.java:110
Method
filter
(String line)
src/main/org/apache/tools/ant/filters/Native2AsciiFilter.java:42
Method
filter
Filter a string 'line' replacing from with to (Copy&Paste from the Replace task) @param line the string to be filtered @return the filtered line
src/main/org/apache/tools/ant/filters/TokenFilter.java:369
Method
filter
Filter strings that contain the contains attribute @param string the string to be filtered @return null if the string does not contain "contains",
src/main/org/apache/tools/ant/filters/TokenFilter.java:423
Method
filter
@param line the string to modify @return the modified string
src/main/org/apache/tools/ant/filters/TokenFilter.java:491
Method
filter
apply regex and substitution on a string @param string the string to apply filter on @return the filtered string
src/main/org/apache/tools/ant/filters/TokenFilter.java:560
Method
filter
@param line the string to be trimmed @return the trimmed string
src/main/org/apache/tools/ant/filters/TokenFilter.java:579
Method
filter
@param line the line to modify @return the trimmed line
src/main/org/apache/tools/ant/filters/TokenFilter.java:592
Method
filter
remove characters from a string @param string the string to remove the characters from @return the converted string
src/main/org/apache/tools/ant/filters/TokenFilter.java:622
Method
filter
(String string)
src/main/org/apache/tools/ant/filters/UniqFilter.java:33
Method
filter
(String token)
src/tests/junit/org/apache/tools/ant/filters/TokenFilterTest.java:276
Method
filterResource
Restrict the nested ResourceCollection based on the nested selectors.
src/main/org/apache/tools/ant/types/resources/Restrict.java:42
Method
finalize
Ensures that the close method of this zipfile is called when there are no more references to it. @see #close()
src/main/org/apache/tools/zip/ZipFile.java:408
Method
finalize
()
src/main/org/apache/tools/ant/types/resources/ZipResource.java:196
Method
finalize
()
src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java:186
Method
finalize
()
src/main/org/apache/tools/ant/filters/util/ChainReaderHelper.java:72
Method
finalize
Overridden to close the stream.
src/main/org/apache/tools/bzip2/CBZip2OutputStream.java:718
Method
findResource
Finds the resource with the given name. @param name The resource name @return A <code>URL</code> object for reading the resource, or <code>null</code
src/main/org/apache/tools/ant/AntClassLoader.java:957
Method
findResources
(String name)
src/tests/junit/org/apache/tools/ant/AntClassLoaderDelegationTest.java:110
Method
findsPropertyNamesSetDirectly
()
src/tests/junit/org/apache/tools/ant/PropertyHelperTest.java:29
Method
findsPropertyNamesSetForLocalProperties
()
src/tests/junit/org/apache/tools/ant/PropertyHelperTest.java:36
Method
fireSubBuildFinished
()
src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java:933
Method
fireTargetStarted
()
src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java:937
Method
fireTaskStarted
()
src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java:944
Method
flattenToString
Creates a comma separated list of all values held in the given collection. @param c collection to transform @return string representation of the coll
src/main/org/apache/tools/ant/util/CollectionUtils.java:99
Method
flush
Processes the buffer to the end. Does not take into account that appended data may make it possible to replace the end of the already received data.
src/main/org/apache/tools/ant/taskdefs/Replace.java:320
Method
flush
()
src/main/org/apache/tools/ant/util/OutputStreamFunneler.java:47
Method
flush
()
src/main/org/apache/tools/ant/util/LineOrientedOutputStreamRedirector.java:58
Method
flush
Flush this log stream @throws IOException if there is an error.
src/main/org/apache/tools/ant/util/LineOrientedOutputStream.java:70
Method
flush
()
src/main/org/apache/tools/bzip2/CBZip2OutputStream.java:751
Method
forceLoadSystemClass
Loads a class through this class loader but defer to the parent class loader. This ensures that instances of the returned class will be compatible wi
src/main/org/apache/tools/ant/AntClassLoader.java:703
Method
formatOctalBytes
Write an octal integer into a buffer. Uses {@link #formatUnsignedOctalString} to format the value as an octal string with leading zeros. The converte
src/main/org/apache/tools/tar/TarUtils.java:479
Method
fromArray
creates an enumeration from an array of objects. @param <T> object type @param array the array of object to enumerate. @return the enumeration over th
src/main/org/apache/tools/ant/taskdefs/optional/junit/Enumerations.java:44
Method
fromCompound
creates an enumeration from an array of enumeration. The created enumeration will sequentially enumerate over all elements of each enumeration and ski
src/main/org/apache/tools/ant/taskdefs/optional/junit/Enumerations.java:60
Method
fromDosTime
Convert a DOS date/time field to a Date object. @param zipDosTime contains the stored DOS time. @return a Date instance corresponding to the given ti
src/main/org/apache/tools/zip/ZipUtil.java:115
Method
fromURI
Constructs a file path from a <code>file:</code> URI. <p>Will be an absolute path if the given URI is absolute.</p> <p>Swallows '%' that are not fol
src/main/org/apache/tools/ant/util/FileUtils.java:1381
Method
generateTests
()
src/tests/junit/org/example/junitlauncher/jupiter/JupiterDynamicTests.java:33
Method
get
Get method for the reference table. It can be used to hook dynamic references and to modify some references on the fly--for example for delayed evalu
src/main/org/apache/tools/ant/Project.java:2440
Method
get
Returns a value for a given key from the cache. @param key the key @return the stored value
src/main/org/apache/tools/ant/types/selectors/modifiedselector/PropertiesfileCache.java:184
Method
get
Returns this reference object's referent. If this reference object has been cleared, then this method returns <code>null</code>. @return The object
src/main/org/apache/tools/ant/util/WeakishReference.java:61
Method
get
(Object k)
src/main/org/apache/tools/ant/util/LinkedHashtable.java:96
Method
get
(Object key)
src/tests/junit/org/apache/tools/ant/types/selectors/MockCache.java:49
Method
get
(String key)
src/tests/junit/org/apache/tools/ant/taskdefs/optional/junitlauncher/LegacyXmlResultFormatterTest.java:77
Method
getAction
Get the action. @return the action.
src/main/org/apache/tools/ant/dispatch/DispatchTask.java:56
Method
getActionParameterName
Get the action parameter name. @return the <code>String</code> "action" by default (can be overridden).
src/main/org/apache/tools/ant/dispatch/DispatchTask.java:39
Method
getAlgorithm
Get the algorithm type to use. @return the enumerated algorithm type
src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java:904
Method
getAntTypeTable
Returns the current datatype definition hashtable. The returned hashtable is "live" and so should not be modified. @return a map of from datatype nam
src/main/org/apache/tools/ant/ComponentHelper.java:496
Method
getAppendOutputStream
{@inheritDoc}
src/main/org/apache/tools/ant/types/resources/LogOutputResource.java:58
Method
getAppendOutputStream
{@inheritDoc}
src/main/org/apache/tools/ant/types/resources/FileResource.java:247
Method
getApplicationException
Get the application exception. @return the application exception.
src/main/org/apache/tools/ant/taskdefs/optional/testing/Funtest.java:312
Method
getAscii
Convenience methood: get US-ASCII CharSet. @return the default value.
src/main/org/apache/tools/ant/types/CharSet.java:68
Method
getAtLeast
Get the atleast attribute. @return the atleast attribute.
src/main/org/apache/tools/ant/taskdefs/condition/JavaVersion.java:95
Method
getAtLeast
Get the atleast attribute. @return the atleast attribute.
src/main/org/apache/tools/ant/taskdefs/condition/AntVersion.java:127
Method
getAtMost
Get the atmost attribute. @return the atmost attribute. @since Ant 1.10.10
src/main/org/apache/tools/ant/taskdefs/condition/JavaVersion.java:114
Method
getAttribute
Get the attribute that is wrong. @return the attribute name.
src/main/org/apache/tools/ant/UnsupportedAttributeException.java:45
Method
getAttributeMap
Returns a read-only map of attributes supported by the introspected class. @return an attribute name to attribute <code>Class</code> unmodifi
src/main/org/apache/tools/ant/IntrospectionHelper.java:953
Method
getAttributes
return the attribute elements. @return the enumeration of attributes
src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java:1512
Method
getBasedir
get the base directory @return the base directory
src/main/org/apache/tools/ant/types/optional/ScriptSelector.java:198
Method
getBaz
()
src/tests/junit/org/apache/tools/ant/IntrospectionHelperSetOptionalAttributesTest.java:84
Method
getBindServices
Attribute indicating whether linked image should pull in providers in the module path of services used by explicitly linked modules. @return true if
src/main/org/apache/tools/ant/taskdefs/modules/Link.java:599
Method
getBlockSize
Returns the blocksize parameter specified at construction time. @return int
src/main/org/apache/tools/bzip2/CBZip2OutputStream.java:854
Method
getBlockSize
Get the TAR Buffer's block size. Blocks consist of multiple records. @return the block size
src/main/org/apache/tools/tar/TarBuffer.java:142
Method
getBootclasspath
Get the boot classpath. @return boot classpath or null.
src/main/org/apache/tools/ant/types/CommandlineJava.java:687
Method
getBorlandDescriptorHandler
Get the borland descriptor handler. @param srcDir the source directory. @return the descriptor.
src/main/org/apache/tools/ant/taskdefs/optional/ejb/BorlandDeploymentTool.java:204
Method
getBufferSize
Get the size in bytes of the read buffer. @return the int size of the read buffer.
src/main/org/apache/tools/ant/taskdefs/StreamPumper.java:202
Method
getBuild
Returns this element's build version, if set. @return build value, or {@code null}
src/main/org/apache/tools/ant/types/ModuleVersion.java:98
Method
getBuildException
()
src/tests/junit/org/apache/tools/ant/BuildFileTest.java:295
Method
getBuildFailedMessage
This is an override point: the message that indicates whether a build failed. Subclasses can change/enhance the message. @return The classic "BUILD F
src/main/org/apache/tools/ant/listener/BigProjectLogger.java:57
Method
getBuildFailedMessage
This is an override point: the message that indicates whether a build failed. Subclasses can change/enhance the message. @return The classic "BUILD F
src/main/org/apache/tools/ant/listener/TimestampedLogger.java:39
Method
getBuildFileParentURL
find out the parent build file of this build file @return the parent build file of this build file @since Ant 1.8.0
src/main/org/apache/tools/ant/helper/AntXMLContext.java:183
Method
getBuildSuccessfulMessage
This is an override point: the message that indicates that a build succeeded. Subclasses can change/enhance the message. @return The classic "BUILD S
src/main/org/apache/tools/ant/listener/BigProjectLogger.java:68
Method
getBuildSuccessfulMessage
This is an override point: the message that indicates that a build succeeded. Subclasses can change/enhance the message. @return The classic "BUILD S
src/main/org/apache/tools/ant/listener/TimestampedLogger.java:50
Method
getCachefile
Getter. @return the cachefile
src/main/org/apache/tools/ant/types/selectors/modifiedselector/PropertiesfileCache.java:111
Method
getCentralDirectoryData
Get the central data. @return the central data if present, else return the local file data
src/main/org/apache/tools/zip/UnrecognizedExtraField.java:120
← previous
next →
7,801–7,900 of 14,300, ranked by callers