MCPcopy Create free account

hub / github.com/apache/ant / functions

Functions14,300 in github.com/apache/ant

↓ 19 callersMethodgetValue
Get value as Java long. @since 1.1 @return value as a long
src/main/org/apache/tools/zip/ZipLong.java:106
↓ 19 callersMethodsetName
Sets the name of this target. @param name The name of this target. Should not be <code>null</code>.
src/main/org/apache/tools/ant/Target.java:190
↓ 19 callersMethodsetTaskName
Sets the name to use in logging messages. @param name The name to use in logging messages. Should not be <code>null</code>. @since Ant 1.
src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java:93
↓ 19 callersMethodsetType
Set the type of <code>FileNameMapper</code> to use. @param type the <code>MapperType</code> enumerated attribute.
src/main/org/apache/tools/ant/types/Mapper.java:58
↓ 19 callersMethodtoString
Return the command line as a string. @return the command line.
src/main/org/apache/tools/ant/types/Commandline.java:421
↓ 18 callersMethodadd
Adds a nested path @param path a <code>Path</code> to be added to the path @throws BuildException on error @since Ant 1.6
src/main/org/apache/tools/ant/types/Path.java:264
↓ 18 callersMethodaddBuildListener
(BuildListener bl)
src/tests/junit/org/apache/tools/ant/taskdefs/ExecTaskTest.java:126
↓ 18 callersMethodaddFilter
Add a new filter. @param filter the filter to be added.
src/main/org/apache/tools/ant/types/FilterSet.java:394
↓ 18 callersMethodcreatePath
Creates a nested <code>&lt;path&gt;</code> element. @return a <code>Path</code> to be configured @throws BuildException on error
src/main/org/apache/tools/ant/types/Path.java:298
↓ 18 callersMethoddisconnect
()
src/main/org/apache/tools/mail/MailMessage.java:449
↓ 18 callersMethodexecute
()
src/tests/junit/org/apache/tools/ant/DummyTaskInterface.java:23
↓ 18 callersMethodflush
Flushes this output stream and forces any buffered output bytes to be written out to the stream. @exception IOException if an I/O error occurs.
src/main/org/apache/tools/zip/ZipOutputStream.java:1015
↓ 18 callersMethodgetDir
Get the directory to create. @return File
src/main/org/apache/tools/ant/taskdefs/Mkdir.java:94
↓ 18 callersMethodgetInputStream
Get an InputStream for the Resource. @return an InputStream containing this Resource's content. @throws IOException if unable to provide the content o
src/main/org/apache/tools/ant/types/Resource.java:324
↓ 18 callersMethodgetInstance
()
src/main/org/apache/tools/ant/taskdefs/optional/junit/CustomJUnit4TestAdapterCache.java:40
↓ 18 callersMethodgetLanguage
Get the script language @return the script language
src/main/org/apache/tools/ant/util/ScriptRunnerBase.java:151
↓ 18 callersMethodgetName
Get the name of the entry. @return the entry name @since 1.9
src/main/org/apache/tools/zip/ZipEntry.java:604
↓ 18 callersMethodgetSize
Get the size of this Resource. @return the size, as a long, 0 if the Resource does not exist (for compatibility with java.io.File), or UNKNOWN
src/main/org/apache/tools/ant/types/Resource.java:245
↓ 18 callersMethodgetValue
Get value as Java int. @return value as a Java int @since 1.1
src/main/org/apache/tools/zip/ZipShort.java:91
↓ 18 callersMethodgetValue
Gets the value of a property. @param properties Properties to obtain value from @param name suffix of property name. "MailLogger." wi
src/main/org/apache/tools/ant/listener/MailLogger.java:350
↓ 18 callersMethodhasNext
Fulfill the Iterator contract. @return true if there are more elements.
src/main/org/apache/tools/ant/types/resources/FailFast.java:93
↓ 18 callersMethodloadClass
(String classname, boolean resolve)
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/confined/JUnitLauncherTask.java:517
↓ 18 callersMethodlocalize
adapt file separators to local conventions
src/tests/junit/org/apache/tools/ant/ProjectTest.java:178
↓ 18 callersMethodread
()
src/main/org/apache/tools/ant/util/FileUtils.java:1890
↓ 18 callersMethodsetLocation
(String location)
src/tutorial/tasks-filesets-properties/final/src/Find.java:44
↓ 18 callersMethodwrite
Print out some text, and flush the output stream; encoding in the platform local default encoding. @param text text to write. @throws BuildException o
src/main/org/apache/tools/ant/taskdefs/optional/junit/PlainJUnitResultFormatter.java:302
↓ 18 callersMethodwrite
Write a byte array to both output streams. @param b an array of bytes. @throws IOException on error.
src/main/org/apache/tools/ant/util/TeeOutputStream.java:70
↓ 17 callersMethodassumeJava9Plus
Shall we assume JDK 9+ command line switches? @return true if JDK 9+ @since Ant 1.10.2
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java:825
↓ 17 callersMethodcreateJvmarg
Adds a JVM argument. @return JVM argument created.
src/main/org/apache/tools/ant/taskdefs/Java.java:513
↓ 17 callersMethodencodeAttributeValue
Escape &lt;, &gt;, &amp;, ', &quot; as their entities, \n, \r and \t as numeric entities and drop characters that are illegal in XML documents. @param
src/main/org/apache/tools/ant/util/DOMElementWriter.java:429
↓ 17 callersMethodexpectSpecificBuildException
(String target, String exceptionMessage)
src/tests/junit/org/apache/tools/ant/taskdefs/optional/sos/SOSTest.java:322
↓ 17 callersMethodgetIncludePatterns
Returns the filtered include patterns. @param p the current project. @return the filtered included patterns.
src/main/org/apache/tools/ant/types/PatternSet.java:465
↓ 17 callersMethodgetIncludedFiles
Returns 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/FileScanner.java:80
↓ 17 callersMethodgetPrefix
Get the prefix attribute. @return the prefix attribute @since Ant 1.5
src/main/org/apache/tools/ant/taskdefs/Property.java:295
↓ 17 callersMethodgetRoot
Determine root directory for a given file. @param file File @return file's root directory
src/main/org/apache/tools/ant/taskdefs/optional/javacc/JJTree.java:401
↓ 17 callersMethodgetVerbose
Get the verbose flag. @return the verbose flag @since Ant 1.6.2
src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHBase.java:115
↓ 17 callersMethodisDanglingSymbolicLink
Checks whether a given file is a broken symbolic link. <p>It doesn't really test for symbolic links but whether Java reports that the File doesn't ex
src/main/org/apache/tools/ant/util/SymbolicLinkUtils.java:134
↓ 17 callersMethodisSymbolicLink
Checks whether a given file is a symbolic link. <p>It doesn't really test for symbolic links but whether the canonical and absolute paths of the file
src/main/org/apache/tools/ant/util/SymbolicLinkUtils.java:76
↓ 17 callersMethodlog
Log the specified Throwable. @param t the Throwable to log. @since 1.6.2
src/main/org/apache/tools/ant/taskdefs/Java.java:1055
↓ 17 callersMethodnewDocument
Get a new Document instance, @return the document. @since Ant 1.6.3
src/main/org/apache/tools/ant/util/DOMUtils.java:43
↓ 17 callersMethodparseBoolean
Parse a boolean byte from a buffer. Leading spaces and NUL are ignored. The buffer may contain trailing spaces or NULs. @param buffer The buffer from
src/main/org/apache/tools/tar/TarUtils.java:234
↓ 17 callersMethodputAll
(Map<? extends K, ? extends V> m)
src/main/org/apache/tools/ant/util/LinkedHashtable.java:126
↓ 17 callersMethodsetPrefix
Set a prefix for the properties. If the prefix does not end with a "." one is automatically added. @param prefix the prefix to use. @since Ant 1.5
src/main/org/apache/tools/ant/taskdefs/Tstamp.java:66
↓ 17 callersMethodtoString
Gets a String containing author, date, files and comment @return a string representation of this CVSEntry
src/main/org/apache/tools/ant/taskdefs/cvslib/CVSEntry.java:108
↓ 17 callersMethodtoString
()
src/tests/junit/org/apache/tools/ant/types/selectors/MockCache.java:61
↓ 17 callersMethodvalidate
Subclasses can use this to throw the requisite exception in isSelected() in the case of an error condition.
src/main/org/apache/tools/ant/types/selectors/BaseSelector.java:91
↓ 17 callersMethodverifySuccess
(final Path trackerFile, final String className, final String methodName)
src/tests/junit/org/example/junitlauncher/Tracker.java:155
↓ 16 callersMethodcompile
Performs the actual compilation. @param javah the calling javah task. @return true if the compilation was successful. @throws BuildException if there
src/main/org/apache/tools/ant/taskdefs/optional/javah/JavahAdapter.java:37
↓ 16 callersMethodequals
equality method @param obj an <code>Object</code> value @return a <code>boolean</code> value
src/main/org/apache/tools/ant/taskdefs/MacroDef.java:541
↓ 16 callersMethodeval
()
src/main/org/apache/tools/ant/Evaluable.java:30
↓ 16 callersMethodgetCombinedClasspath
Get the classpath by combining the one from the surrounding task, if any and the one from this tool. @return the combined classpath
src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java:223
↓ 16 callersMethodgetExcludePatterns
Returns the filtered include patterns. @param p the current project. @return the filtered excluded patterns.
src/main/org/apache/tools/ant/types/PatternSet.java:479
↓ 16 callersMethodgetFileURL
Get the URL for a file taking into account # characters. @param file the file whose URL representation is required. @return The FileURL value. @throw
src/main/org/apache/tools/ant/util/FileUtils.java:178
↓ 16 callersMethodgetRef
()
src/main/org/apache/tools/ant/types/resources/FileResource.java:411
↓ 16 callersMethodgetSource
Returns the source field (the path/filename of the component to be deployed. @return A File object representing the "source" attribute.
src/main/org/apache/tools/ant/taskdefs/optional/j2ee/ServerDeploy.java:139
↓ 16 callersMethodgetTestCaseName
JUnit 3.7 introduces TestCase.getName() and subsequent versions of JUnit remove the old name() method. This method provides access to the name of a T
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitVersionHelper.java:75
↓ 16 callersMethodinit
Called by the project to let the task initialize properly. The default implementation is a no-op. @exception BuildException if something goes wrong w
src/main/org/apache/tools/ant/Task.java:143
↓ 16 callersMethodlogWhenWriting
Logs a message at the given output level, but only if this is the pass that will actually create the archive. @param msg String @param level int @sin
src/main/org/apache/tools/ant/taskdefs/Zip.java:2066
↓ 16 callersMethodnewInstance
Creates a fresh object instance of the specified classname. <p>This uses the userDefinedLoader to load the specified class, and then makes an instanc
src/main/org/apache/tools/ant/util/ClasspathUtils.java:230
↓ 16 callersMethodprintProperty
print a property name="value" pair if the property is set; print nothing if it is null @param out stream to print on @param key property name
src/main/org/apache/tools/ant/Diagnostics.java:649
↓ 16 callersMethodread
Read the specified number of bytes into an array. @param array the byte array to read into @param off the offset to start reading bytes into @param l
src/main/org/apache/tools/ant/util/ReaderInputStream.java:160
↓ 16 callersMethodreset
Reset the dependency list. This will reset the determined dependencies and the also list of root classes.
src/main/org/apache/tools/ant/util/depend/DependencyAnalyzer.java:88
↓ 16 callersMethodsetCaseSensitive
Sets whether or not the file system should be regarded as case sensitive. @param isCaseSensitive whether or not the file system should be
src/main/org/apache/tools/ant/FileScanner.java:157
↓ 16 callersMethodsetSrc
Set an URL to get. @param u URL for the file.
src/main/org/apache/tools/ant/taskdefs/Get.java:319
↓ 15 callersMethodassertAttrMethod
(String attrName, String methodName, Class<?> methodArg, Object arg, Object
src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java:662
↓ 15 callersMethodcontentEquals
Compares the contents of two files. @param f1 the file whose content is to be compared. @param f2 the other file whose content is to be compared. @r
src/main/org/apache/tools/ant/util/FileUtils.java:1112
↓ 15 callersMethodcreateMapper
Define the mapper to map source to destination files. @return a mapper to be configured. @exception BuildException if more than one mapper is defined.
src/main/org/apache/tools/ant/taskdefs/Get.java:522
↓ 15 callersMethodentrySet
()
src/main/org/apache/tools/ant/util/LinkedHashtable.java:86
↓ 15 callersMethodfindClass
Searches for and load a class on the classpath of this class loader. @param name The name of the class to be loaded. Must not be <code>nu
src/main/org/apache/tools/ant/AntClassLoader.java:1354
↓ 15 callersMethodgetAddress
Returns the address @return the address part
src/main/org/apache/tools/ant/taskdefs/email/EmailAddress.java:182
↓ 15 callersMethodgetCompiler
get the name of the current compiler @return the name of the compiler @since Ant 1.5
src/main/org/apache/tools/ant/taskdefs/Rmic.java:510
↓ 15 callersMethodgetCurrentCompilerArgs
Get the additional implementation specific command line arguments. @return array of command line arguments, guaranteed to be non-null. @since Ant 1.5
src/main/org/apache/tools/ant/taskdefs/Rmic.java:531
↓ 15 callersMethodgetElementType
Returns the type of a named nested element. @param elementName The name of the element to find the type of. Must not be <code>null
src/main/org/apache/tools/ant/IntrospectionHelper.java:834
↓ 15 callersMethodgetExtraFields
Retrieves all extra fields that have been parsed successfully. @return an array of the extra fields
src/main/org/apache/tools/zip/ZipEntry.java:328
↓ 15 callersMethodgetIncludedDirectories
Return the names of the directories which matched at least one of the include patterns and none of the exclude patterns. The names are relative to the
src/main/org/apache/tools/ant/DirectoryScanner.java:1617
↓ 15 callersMethodgetQualifiedClassName
Gets the fully qualified name of the Java class. @return String representing the fully qualified class name.
src/main/org/apache/tools/ant/taskdefs/optional/ejb/IPlanetEjbc.java:1350
↓ 15 callersMethodgetRef
Perform the check for circular references and return the referenced Resource. @return <code>Resource</code>.
src/main/org/apache/tools/ant/types/Resource.java:457
↓ 15 callersMethodhasMoreElements
@return true if there is more elements.
src/main/org/apache/tools/ant/taskdefs/FixCRLF.java:554
↓ 15 callersMethodnextElement
get the next element. @return the next element. @throws NoSuchElementException if there is no more.
src/main/org/apache/tools/ant/taskdefs/FixCRLF.java:564
↓ 15 callersMethodputLong
put the value as four bytes in big endian byte order. @param value the Java long to convert to bytes @param buf the output buffer @param offset
src/main/org/apache/tools/zip/ZipLong.java:129
↓ 15 callersMethodregisterDTD
Register a dtd with a location. The location is one of a filename, a resource name in the classpath, or a URL. @param publicId the public identity of
src/main/org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.java:140
↓ 15 callersMethodrollbackTimestamps
Modified the timestamp on a file so it's <code>seconds</code> earlier than it was before. Where <code>file</code> is a directory, this function recurs
src/tests/junit/org/apache/tools/ant/FileUtilities.java:62
↓ 15 callersMethodsetAttribute
Set an attribute to a given value. @param name the name of the attribute. @param value the attribute's value.
src/main/org/apache/tools/ant/RuntimeConfigurable.java:285
↓ 15 callersMethodsetFollowSymlinks
Sets whether or not symbolic links or Windows junctions should be followed. @param followSymlinks whether or not symbolic links or Windows junctions
src/main/org/apache/tools/ant/taskdefs/Delete.java:386
↓ 15 callersMethodsetLastModified
Set the last modification attribute. @param lastmodified the modification time in milliseconds since 01.01.1970.
src/main/org/apache/tools/ant/types/Resource.java:203
↓ 15 callersMethodsetLocation
@param location the location of the resource associated with the publicId.
src/main/org/apache/tools/ant/types/ResourceLocation.java:70
↓ 15 callersMethodsetOut
Specifies the output name for the styled result from the <code>in</code> attribute; required if <code>in</code> is set @param outFile the output File
src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java:766
↓ 15 callersMethodsetPublicId
@param publicId uniquely identifies the resource.
src/main/org/apache/tools/ant/types/ResourceLocation.java:62
↓ 15 callersMethodsetTime
Asks the NetRexx compiler to print compilation times to the console Valid true values are "yes", "on" or "true". Anything else sets the flag to false.
src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java:428
↓ 15 callersMethodsetWhen
Set the comparison for use as a Condition. @param w EnumeratedAttribute When. @see org.apache.tools.ant.types.Comparison
src/main/org/apache/tools/ant/taskdefs/Length.java:119
↓ 15 callersMethodtoString
Get a string rep of this object. @return a string containing the pwd and the file.
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java:1107
↓ 15 callersMethodtryHardToDelete
Accommodate Windows bug encountered in both Sun and IBM JDKs. Others possible. If the delete does not work, call System.gc(), wait a little and try ag
src/main/org/apache/tools/ant/util/FileUtils.java:1750
↓ 14 callersMethodadd
Add the ResourceCollection. @param c the ResourceCollection to add.
src/main/org/apache/tools/ant/types/resources/Restrict.java:52
↓ 14 callersMethodaddArgIf
Utility method to add an argument to the command line conditionally based on the given flag. @param b the flag which controls if the argument is adde
src/main/org/apache/tools/ant/taskdefs/Javadoc.java:413
↓ 14 callersMethodaddValue
add a value argument to a command @param cmd command to manipulate @param value value to add
src/main/org/apache/tools/ant/taskdefs/AbstractJarSignerTask.java:492
↓ 14 callersMethodassertFileContains
(String filename, String contains)
src/tests/junit/org/apache/tools/ant/taskdefs/StyleTest.java:232
↓ 14 callersMethodassumeJava1_2Plus
Shall we assume JDK 1.2+ command line switches? @return true if jdk 1.2 and above @since Ant 1.10.7
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java:665
↓ 14 callersMethodbsPutUByte
(final int c)
src/main/org/apache/tools/bzip2/CBZip2OutputStream.java:945
↓ 14 callersMethodclose
()
src/main/org/apache/tools/ant/taskdefs/PathConvert.java:433
↓ 14 callersMethodcreateVmArgument
Create a new JVM argument. @return an argument to be configured.
src/main/org/apache/tools/ant/types/CommandlineJava.java:244
← previousnext →301–400 of 14,300, ranked by callers