MCPcopy Create free account

hub / github.com/apache/ant / functions

Functions14,300 in github.com/apache/ant

↓ 57 callersMethodprint
Prints the message onto an output stream @param ps The print stream to write to @throws IOException if an error occurs
src/main/org/apache/tools/ant/taskdefs/email/Message.java:112
↓ 57 callersMethodtoString
This String-Representation can directly be used for instantiation of the JUnit testcase. @return the string representation. @see java.lang.Object#toSt
src/main/org/apache/tools/ant/taskdefs/optional/junit/FailureRecorder.java:364
↓ 56 callersMethodgetDirectoryScanner
Returns the directory scanner needed to access the files to process. @param baseDir the base directory to use with the fileset @return a directory sca
src/main/org/apache/tools/ant/taskdefs/MatchingTask.java:192
↓ 56 callersMethodhasMoreTokens
Tests if there are more path elements available from this tokenizer's path. If this method returns <code>true</code>, then a subsequent call to nextTo
src/main/org/apache/tools/ant/PathTokenizer.java:85
↓ 56 callersMethodof
Determines the file type of a {@link Path}. @param p Path @return FileType @throws IOException if file attributes cannot be read
src/main/org/apache/tools/ant/util/PermissionUtils.java:293
↓ 55 callersMethodcreateTempFile
Create a File object for a temporary file in a given directory. Without actually creating the file. <p> The file denoted by the returned abstract pat
src/main/org/apache/tools/ant/util/FileUtils.java:939
↓ 55 callersMethodselectionString
This is a helper method that takes a selector and calls its isSelected() method on each file in the testbed. It returns a string of "T"s amd "F"s @pa
src/tests/junit/org/apache/tools/ant/types/selectors/BaseSelectorRule.java:92
↓ 54 callersMethodgetCheckedRef
Performs the check for circular references and returns the referenced object. @param <T> required reference type @return the dereferenced object. @thr
src/main/org/apache/tools/ant/types/DataType.java:205
↓ 54 callersMethodgetFileContents
Reads the contents of a file into a String. @param project the project containing the base directory the file is in. @param fileName the path to the f
src/tests/junit/org/apache/tools/ant/FileUtilities.java:39
↓ 53 callersMethodgetMessage
Returns the logging message. This field will only be set for "messageLogged" events. @return the message associated with this event, or <code>null</c
src/main/org/apache/tools/ant/BuildEvent.java:170
↓ 53 callersMethodtoString
Return a String representation of this object. @return string representation of object.
src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java:478
↓ 52 callersMethodcreateArg
Add a command-line argument. @return created argument.
src/main/org/apache/tools/ant/taskdefs/Java.java:458
↓ 52 callersMethodinvoke
Call a method on the object with no parameters. @param <T> desired type @param obj the object to invoke the method on. @param methodName the name of
src/main/org/apache/tools/ant/util/ReflectUtil.java:71
↓ 52 callersMethodlist
()
src/tests/junit/org/apache/tools/ant/PickOneTask.java:24
↓ 51 callersMethodtoString
Returns a textual representation of the path, which can be used as CLASSPATH or PATH environment variable definition. @return a textual representation
src/main/org/apache/tools/ant/types/Path.java:390
↓ 50 callersMethodgetProject
Get the current project. @return the current ant project.
src/main/org/apache/tools/ant/property/ParseNextProperty.java:34
↓ 50 callersMethodjoin
Joins the string representation of the elements of a collection to a joined string with a given separator. @param collection Collection of the data to
src/main/org/apache/tools/ant/util/StringUtils.java:284
↓ 49 callersMethodcontainsKey
Check if the table contains a particular key. @param value the key to look for. @return true if the table contains key.
src/main/org/apache/tools/ant/util/LazyHashtable.java:96
↓ 49 callersMethodgetCommandLine
Accessor to the command line. @return the current command line. @since 1.6.3
src/main/org/apache/tools/ant/taskdefs/Java.java:1065
↓ 48 callersMethodflush
()
src/main/org/apache/tools/ant/taskdefs/optional/junit/FormatterElement.java:385
↓ 48 callersMethodmkdirs
Attempt to fix possible race condition when creating directories on WinXP. If the mkdirs does not work, wait a little and try again.
src/main/org/apache/tools/ant/taskdefs/Mkdir.java:103
↓ 47 callersMethodaddAll
Add the Collection of ResourceCollections to the container. @param c the Collection whose elements to add. @throws BuildException on error.
src/main/org/apache/tools/ant/types/resources/BaseResourceCollectionContainer.java:120
↓ 47 callersMethodtoString
Returns the name of this target. @return the name of this target, or <code>null</code> if the name has not been set yet.
src/main/org/apache/tools/ant/Target.java:406
↓ 46 callersMethodequals
(Object obj)
src/main/org/apache/tools/ant/taskdefs/optional/junit/FailureRecorder.java:381
↓ 46 callersMethodmapFileName
Returns an array containing the target filename(s) for the given source file. <p>if the given rule doesn't apply to the source file, implementation m
src/main/org/apache/tools/ant/util/FileNameMapper.java:61
↓ 45 callersMethodgetFullLog
Gets the log the BuildFileTest object. Only valid if configureProject() has been called. @pre fullLogBuffer!=null @return The log value
src/tests/junit/org/apache/tools/ant/BuildFileTest.java:255
↓ 45 callersMethodsetAttribute
(boolean b)
src/tests/junit/org/apache/tools/ant/taskdefs/PreSetDefTest.java:127
↓ 45 callersMethodwrite
(int b)
src/main/org/apache/tools/ant/taskdefs/Execute.java:507
↓ 44 callersMethodisSelected
Method that each selector will implement to create their selection behaviour. If there is a problem with the setup of a selector, it can throw a Build
src/main/org/apache/tools/ant/types/selectors/FileSelector.java:47
↓ 44 callersMethodsetError
Allows all selectors to indicate a setup error. Note that only the first error message is recorded. @param msg The error message any BuildException s
src/main/org/apache/tools/ant/types/selectors/BaseSelector.java:45
↓ 43 callersMethodgetIncludedFiles
Return the names of the files which matched at least one of the include patterns and none of the exclude patterns. The names are relative to the base
src/main/org/apache/tools/ant/DirectoryScanner.java:1534
↓ 43 callersMethodgetMethod
The compression method that has been used. @return int @since Ant 1.8.0
src/main/org/apache/tools/ant/types/resources/ZipResource.java:172
↓ 43 callersMethodgetPropertyHelper
Factory method to create a property processor. Users can provide their own or replace it using "ant.PropertyHelper" reference. User tasks can also add
src/main/org/apache/tools/ant/PropertyHelper.java:393
↓ 43 callersMethodjoining
(CharSequence separator)
src/main/org/apache/tools/ant/util/StringUtils.java:306
↓ 42 callersMethodencode
Encode a filename or a comment to a byte array suitable for storing it to a serialized zip entry. <p>Examples for CP 437 (in pseudo-notation, right h
src/main/org/apache/tools/zip/ZipEncoding.java:76
↓ 42 callersMethodisLeadingPath
Learn whether one path "leads" another. <p>This method uses {@link #normalize} under the covers and does not resolve symbolic links or Windows juncti
src/main/org/apache/tools/ant/util/FileUtils.java:1300
↓ 42 callersMethodprintStackTrace
(PrintWriter w)
src/tests/junit/org/apache/tools/ant/DefaultLoggerTest.java:52
↓ 42 callersMethodsetPattern
Set the regexp pattern from the String description. @param pattern the pattern to match @throws BuildException on error
src/main/org/apache/tools/ant/util/regexp/RegexpMatcher.java:58
↓ 41 callersMethodgetOutput
()
src/tests/junit/org/apache/tools/ant/BuildFileTest.java:287
↓ 40 callersMethodgetKey
Get the attribute's Key - its name in lower case. @return the attribute's key.
src/main/org/apache/tools/ant/taskdefs/Manifest.java:243
↓ 40 callersMethodkeySet
()
src/main/org/apache/tools/ant/util/LinkedHashtable.java:116
↓ 40 callersMethodresolve
Attempt to locate File that satisfies extension via resolver. @param extension the extension @param project the Ant project instance @return the File
src/main/org/apache/tools/ant/taskdefs/optional/extension/ExtensionResolver.java:41
↓ 40 callersMethodwrite
Writes a DOM tree to a stream in UTF8 encoding. Note that it prepends the &lt;?xml version='1.0' encoding='UTF-8'?&gt; if the xmlDeclaration field is
src/main/org/apache/tools/ant/util/DOMElementWriter.java:173
↓ 39 callersMethodgetProperties
@return Returns the properties that were used for the execution of the test
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/TestExecutionContext.java:36
↓ 39 callersMethodgetTarget
Gets the target VM that the classes will be compiled for. @return the target VM
src/main/org/apache/tools/ant/taskdefs/Javac.java:767
↓ 39 callersMethodgetTaskName
Returns the name to use in logging messages. @return the name to use in logging messages. @since Ant 1.7
src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java:103
↓ 39 callersMethodverifyImageBuiltNormally
()
src/tests/junit/org/apache/tools/ant/taskdefs/modules/LinkTest.java:104
↓ 39 callersMethodwriteAttribute
(final XMLStreamWriter writer, final String name, final String value)
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/LegacyXmlResultFormatter.java:383
↓ 38 callersMethodcheckAttributesAllowed
check that it is ok to set attributes, i.e that no reference is defined @since Ant 1.6 @throws BuildException if not allowed
src/main/org/apache/tools/ant/types/DataType.java:343
↓ 38 callersMethodisExists
The exists attribute tells whether a resource exists. @return true if this resource exists.
src/main/org/apache/tools/ant/types/Resource.java:161
↓ 38 callersMethodload
Loads the cache, must handle not existing cache.
src/main/org/apache/tools/ant/types/selectors/modifiedselector/Cache.java:48
↓ 38 callersMethodlocalize
adapt file separators to local conventions
src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java:977
↓ 38 callersMethodnext
Fulfill the Iterator contract. @return the next element. @throws NoSuchElementException if no more elements.
src/main/org/apache/tools/ant/types/resources/FailFast.java:107
↓ 37 callersMethodrun
Run the test.
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskMirror.java:133
↓ 37 callersMethodset
Set a property. <p>May replace the value of an existing property.</p> @param property the property's String "identifier". @param value the value
src/main/org/apache/tools/ant/PropertyHelper.java:160
↓ 36 callersMethodequals
true if the original paths are equal. @return boolean
src/main/org/apache/tools/ant/types/selectors/TokenizedPath.java:165
↓ 36 callersMethodgetClasspath
The CLASSPATH this rmic process will use. @return the classpath this rmic process will use
src/main/org/apache/tools/ant/taskdefs/rmic/RmicAdapter.java:66
↓ 36 callersMethodisDirectory
Tells if the resource is a directory. @return boolean flag indicating if the resource is a directory.
src/main/org/apache/tools/ant/types/Resource.java:212
↓ 36 callersMethodpushAndInvokeCircularReferenceCheck
Allow DataTypes outside org.apache.tools.ant.types to indirectly call dieOnCircularReference on nested DataTypes. <p>Pushes dt on the stack, runs die
src/main/org/apache/tools/ant/types/DataType.java:188
↓ 35 callersMethodgetLocation
Get the location of this target's definition. @return <code>Location</code> @since 1.6.2
src/main/org/apache/tools/ant/Target.java:128
↓ 35 callersMethodsetUserProperty
Set a user property, which cannot be overwritten by set/unset property calls. Any previous value is overwritten. @param name The name of property to s
src/main/org/apache/tools/ant/Project.java:566
↓ 35 callersMethodsetValue
The string that should replace the token during filtered copies. @param value token replace value
src/main/org/apache/tools/ant/taskdefs/Filter.java:54
↓ 34 callersMethodcreateElement
Creates a named nested element. Depending on the results of the initial introspection, either a method in the given parent instance or a simple no-arg
src/main/org/apache/tools/ant/IntrospectionHelper.java:621
↓ 34 callersMethodequals
Please use Vector.equals() or List.equals(). @param v1 the first vector. @param v2 the second vector. @return true if the vectors are equal. @since An
src/main/org/apache/tools/ant/util/CollectionUtils.java:54
↓ 34 callersMethodgetCommandline
Get the command line used to run the tests. @return the command line. @since Ant 1.6.2
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:2015
↓ 34 callersMethodgetConfig
Get the basename terminator. @return an ejbjar task configuration
src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java:174
↓ 33 callersMethodclear
()
src/main/org/apache/tools/ant/taskdefs/VerifyJar.java:214
↓ 33 callersMethodcreateClassLoader
Creates and configures an AntClassLoader instance from the nested classpath element. @since Ant 1.6
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:1944
↓ 33 callersMethodisDirectory
()
src/tests/junit/org/apache/tools/ant/taskdefs/ZipExtraFieldTest.java:70
↓ 33 callersMethodwasTestRun
(final Path trackerFile, final String className)
src/tests/junit/org/example/junitlauncher/Tracker.java:135
↓ 33 callersMethodwrite
(int b)
src/tests/junit/org/apache/tools/ant/BuildFileTest.java:530
↓ 32 callersMethodcreateArg
Adds a command-line argument. @return new command line argument created.
src/main/org/apache/tools/ant/taskdefs/ExecTask.java:327
↓ 32 callersMethodequals
Equality depending in the index. @param other the object to test equality against. @return true if the object has the same index as this.
src/main/org/apache/tools/ant/filters/FixCrLfFilter.java:959
↓ 32 callersMethodgetIndex
@return the index of the selected value in the array. @see #getValues()
src/main/org/apache/tools/ant/types/EnumeratedAttribute.java:140
↓ 32 callersMethodgetResolvedPath
Tries to get the canonical path of a file resolving symbolic links or Windows junctions. <p>On any platform other than Windows this simply invokes {@
src/main/org/apache/tools/ant/util/FileUtils.java:2022
↓ 32 callersMethodgetResource
Query a resource (file, zipentry, ...) by name @param name relative path of the resource about which information is sought. Expects &quot;/&quot; to
src/main/org/apache/tools/ant/types/ResourceFactory.java:37
↓ 32 callersMethodisFilesystemOnly
Indicate whether this ResourceCollection is composed entirely of Resources accessible via local filesystem conventions. If true, all resources returne
src/main/org/apache/tools/ant/types/ResourceCollection.java:42
↓ 32 callersMethodparse
Parse a line into name and value pairs @param line the line to be parsed @throws ManifestException if the line does not contain a colon separating t
src/main/org/apache/tools/ant/taskdefs/Manifest.java:210
↓ 32 callersMethodreadFully
Read from reader till EOF. @param rdr the reader from which to read. @return the contents read out of the given reader. @throws IOException if the co
src/main/org/apache/tools/ant/util/FileUtils.java:1155
↓ 32 callersMethodsetCommandline
Sets the commandline of the subprocess to launch. @param commandline the commandline of the subprocess to launch.
src/main/org/apache/tools/ant/taskdefs/Execute.java:319
↓ 32 callersMethodtoURI
Constructs a <code>file:</code> URI that represents the external form of the given pathname. <p>Will be an absolute URI if the given path is absolute
src/main/org/apache/tools/ant/util/FileUtils.java:1365
↓ 31 callersMethodgetAttributeValue
Get the value of the attribute with the name given. @param attributeName the name of the attribute to be returned. @return the attribute's value or
src/main/org/apache/tools/ant/taskdefs/Manifest.java:589
↓ 31 callersMethodgetFilenames
()
src/tests/junit/org/apache/tools/ant/types/selectors/BaseSelectorRule.java:80
↓ 31 callersMethodpush
(char c)
src/main/org/apache/tools/ant/filters/FixCrLfFilter.java:412
↓ 31 callersMethodsetAttribute
Set a custom attribute for the JAXP factory implementation. @param name the attribute name. @param value the value of the attribute, usually a boolean
src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java:449
↓ 30 callersMethodclose
()
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/TestRequest.java:93
↓ 30 callersMethodgetCommandline
(int timetorun)
src/tests/junit/org/apache/tools/ant/taskdefs/ExecuteJavaTest.java:58
↓ 30 callersMethodgetFiles
()
src/tests/junit/org/apache/tools/ant/types/selectors/BaseSelectorRule.java:76
↓ 30 callersMethodgetTaskType
Return the type of task. @return the type of task.
src/main/org/apache/tools/ant/Task.java:443
↓ 30 callersMethodisFailure
Checks whether <code>exitValue</code> signals a failure on the current system (OS specific). <p><b>Note</b> that this method relies on the convention
src/main/org/apache/tools/ant/taskdefs/Execute.java:571
↓ 30 callersMethodrunJmod
(final String... args)
src/tests/junit/org/apache/tools/ant/taskdefs/modules/JmodTest.java:636
↓ 29 callersMethodconcatSystemClasspath
Concatenates the system class path in the order specified by the ${build.sysclasspath} property - using &quot;last&quot; as default value. @return the
src/main/org/apache/tools/ant/types/Path.java:524
↓ 29 callersMethodgetFileTimestampGranularity
Get the granularity of file timestamps. The choice is made based on OS, which is incorrect--it should really be by filesystem. We do not have an easy
src/main/org/apache/tools/ant/util/FileUtils.java:1530
↓ 29 callersMethodgetLength
Get the number of nodes in the list. @return the length of the list.
src/main/org/apache/tools/ant/taskdefs/optional/junit/DOMUtil.java:96
↓ 29 callersMethodgetTask
Get the task for this tool. @return the Task instance this tool is associated with.
src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java:165
↓ 29 callersMethodisChecked
The flag that is used to indicate that circular references have been checked. @return true if circular references have been checked
src/main/org/apache/tools/ant/types/DataType.java:318
↓ 29 callersMethoditerator
()
src/main/org/apache/tools/ant/taskdefs/optional/depend/ClassFileIterator.java:36
↓ 29 callersMethodlastDelimiterPosition
(StringBuffer buf, String currentLine)
src/main/org/apache/tools/ant/taskdefs/SQLExec.java:1070
↓ 29 callersMethodlistFiles
list the files present in one directory. @param directory full path on the remote side @param changedir if true change to directory directory before l
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java:681
↓ 29 callersMethodreplace
Replace occurrences into a string. @param data the string to replace occurrences into @param from the occurrence to replace. @param to the occurrence
src/main/org/apache/tools/ant/util/StringUtils.java:89
← previousnext →101–200 of 14,300, ranked by callers