MCPcopy Create free account

hub / github.com/apache/ant / functions

Functions14,300 in github.com/apache/ant

MethodexpectBuildExceptionContaining
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
MethodexpectDebuglog
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
MethodexpectLog
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
MethodexpectLogContaining
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
MethodexpectLogNotContaining
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
MethodexpectOutput
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
MethodexpectOutputAndError
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
MethodexpectPropertyUnset
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
MethodexplicitIgnoreTest
()
src/tests/junit/org/example/junit/JUnit4Skippable.java:35
MethodexplicitlyIgnoreTestNoMessage
()
src/tests/junit/org/example/junit/JUnit4Skippable.java:47
Methodextract
Do the unbzipping.
src/main/org/apache/tools/ant/taskdefs/BUnzip2.java:59
Methodextract
Implement the gunzipping.
src/main/org/apache/tools/ant/taskdefs/GUnzip.java:54
Methodextract
Implement the gunzipping.
src/main/org/apache/tools/ant/taskdefs/optional/xz/Unxz.java:55
MethodextractTargetName
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
MethodextractVariablePart
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
MethodextractVariablePart
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
Methodfail
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
MethodfailingTest
()
src/tests/junit/org/example/junit/JUnit4Skippable.java:59
MethodfailingTestNoMessage
()
src/tests/junit/org/example/junit/JUnit4Skippable.java:64
MethodfatalError
record a fatal error @param exception the fatal error
src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java:604
MethodfatalError
Log a fatal error. @param e the exception to log.
src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java:533
MethodfetchEntry
fetches information from the named entry inside the archive.
src/main/org/apache/tools/ant/types/resources/TarResource.java:197
MethodfetchEntry
fetches information from the named entry inside the archive.
src/main/org/apache/tools/ant/types/resources/ZipResource.java:209
MethodfileSize
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
MethodfillMapsFromArchive
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
MethodfillMapsFromArchive
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
Methodfilter
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
Methodfilter
(String line)
src/main/org/apache/tools/ant/filters/Native2AsciiFilter.java:42
Methodfilter
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
Methodfilter
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
Methodfilter
@param line the string to modify @return the modified string
src/main/org/apache/tools/ant/filters/TokenFilter.java:491
Methodfilter
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
Methodfilter
@param line the string to be trimmed @return the trimmed string
src/main/org/apache/tools/ant/filters/TokenFilter.java:579
Methodfilter
@param line the line to modify @return the trimmed line
src/main/org/apache/tools/ant/filters/TokenFilter.java:592
Methodfilter
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
Methodfilter
(String string)
src/main/org/apache/tools/ant/filters/UniqFilter.java:33
Methodfilter
(String token)
src/tests/junit/org/apache/tools/ant/filters/TokenFilterTest.java:276
MethodfilterResource
Restrict the nested ResourceCollection based on the nested selectors.
src/main/org/apache/tools/ant/types/resources/Restrict.java:42
Methodfinalize
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
Methodfinalize
()
src/main/org/apache/tools/ant/types/resources/ZipResource.java:196
Methodfinalize
()
src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java:186
Methodfinalize
()
src/main/org/apache/tools/ant/filters/util/ChainReaderHelper.java:72
Methodfinalize
Overridden to close the stream.
src/main/org/apache/tools/bzip2/CBZip2OutputStream.java:718
MethodfindResource
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
MethodfindResources
(String name)
src/tests/junit/org/apache/tools/ant/AntClassLoaderDelegationTest.java:110
MethodfindsPropertyNamesSetDirectly
()
src/tests/junit/org/apache/tools/ant/PropertyHelperTest.java:29
MethodfindsPropertyNamesSetForLocalProperties
()
src/tests/junit/org/apache/tools/ant/PropertyHelperTest.java:36
MethodfireSubBuildFinished
()
src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java:933
MethodfireTargetStarted
()
src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java:937
MethodfireTaskStarted
()
src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java:944
MethodflattenToString
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
Methodflush
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
Methodflush
()
src/main/org/apache/tools/ant/util/OutputStreamFunneler.java:47
Methodflush
()
src/main/org/apache/tools/ant/util/LineOrientedOutputStreamRedirector.java:58
Methodflush
Flush this log stream @throws IOException if there is an error.
src/main/org/apache/tools/ant/util/LineOrientedOutputStream.java:70
Methodflush
()
src/main/org/apache/tools/bzip2/CBZip2OutputStream.java:751
MethodforceLoadSystemClass
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
MethodformatOctalBytes
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
MethodfromArray
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
MethodfromCompound
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
MethodfromDosTime
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
MethodfromURI
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
MethodgenerateTests
()
src/tests/junit/org/example/junitlauncher/jupiter/JupiterDynamicTests.java:33
Methodget
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
Methodget
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
Methodget
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
Methodget
(Object k)
src/main/org/apache/tools/ant/util/LinkedHashtable.java:96
Methodget
(Object key)
src/tests/junit/org/apache/tools/ant/types/selectors/MockCache.java:49
Methodget
(String key)
src/tests/junit/org/apache/tools/ant/taskdefs/optional/junitlauncher/LegacyXmlResultFormatterTest.java:77
MethodgetAction
Get the action. @return the action.
src/main/org/apache/tools/ant/dispatch/DispatchTask.java:56
MethodgetActionParameterName
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
MethodgetAlgorithm
Get the algorithm type to use. @return the enumerated algorithm type
src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java:904
MethodgetAntTypeTable
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
MethodgetAppendOutputStream
{@inheritDoc}
src/main/org/apache/tools/ant/types/resources/LogOutputResource.java:58
MethodgetAppendOutputStream
{@inheritDoc}
src/main/org/apache/tools/ant/types/resources/FileResource.java:247
MethodgetApplicationException
Get the application exception. @return the application exception.
src/main/org/apache/tools/ant/taskdefs/optional/testing/Funtest.java:312
MethodgetAscii
Convenience methood: get US-ASCII CharSet. @return the default value.
src/main/org/apache/tools/ant/types/CharSet.java:68
MethodgetAtLeast
Get the atleast attribute. @return the atleast attribute.
src/main/org/apache/tools/ant/taskdefs/condition/JavaVersion.java:95
MethodgetAtLeast
Get the atleast attribute. @return the atleast attribute.
src/main/org/apache/tools/ant/taskdefs/condition/AntVersion.java:127
MethodgetAtMost
Get the atmost attribute. @return the atmost attribute. @since Ant 1.10.10
src/main/org/apache/tools/ant/taskdefs/condition/JavaVersion.java:114
MethodgetAttribute
Get the attribute that is wrong. @return the attribute name.
src/main/org/apache/tools/ant/UnsupportedAttributeException.java:45
MethodgetAttributeMap
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
MethodgetAttributes
return the attribute elements. @return the enumeration of attributes
src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java:1512
MethodgetBasedir
get the base directory @return the base directory
src/main/org/apache/tools/ant/types/optional/ScriptSelector.java:198
MethodgetBaz
()
src/tests/junit/org/apache/tools/ant/IntrospectionHelperSetOptionalAttributesTest.java:84
MethodgetBindServices
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
MethodgetBlockSize
Returns the blocksize parameter specified at construction time. @return int
src/main/org/apache/tools/bzip2/CBZip2OutputStream.java:854
MethodgetBlockSize
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
MethodgetBootclasspath
Get the boot classpath. @return boot classpath or null.
src/main/org/apache/tools/ant/types/CommandlineJava.java:687
MethodgetBorlandDescriptorHandler
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
MethodgetBufferSize
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
MethodgetBuild
Returns this element's build version, if set. @return build value, or {@code null}
src/main/org/apache/tools/ant/types/ModuleVersion.java:98
MethodgetBuildException
()
src/tests/junit/org/apache/tools/ant/BuildFileTest.java:295
MethodgetBuildFailedMessage
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
MethodgetBuildFailedMessage
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
MethodgetBuildFileParentURL
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
MethodgetBuildSuccessfulMessage
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
MethodgetBuildSuccessfulMessage
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
MethodgetCachefile
Getter. @return the cachefile
src/main/org/apache/tools/ant/types/selectors/modifiedselector/PropertiesfileCache.java:111
MethodgetCentralDirectoryData
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
← previousnext →7,801–7,900 of 14,300, ranked by callers