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
↓ 10 callers
Method
tokenizePathAsArray
(String path)
src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java:519
↓ 10 callers
Method
transform
Perform the transformation of a file into another. @param infile the input file, probably an XML one. :-) @param outfile the output file resulting fro
src/main/org/apache/tools/ant/taskdefs/XSLTLiaison.java:67
↓ 10 callers
Method
update
This is implemented to listen for any line events and closes the clip if required. @param event the line event to follow
src/main/org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.java:177
↓ 10 callers
Method
write
{@inheritDoc}
src/main/org/apache/tools/bzip2/CBZip2OutputStream.java:646
↓ 9 callers
Method
accept
@param node the node to check for acceptance. @return <code>true</code> if the node is accepted by this filter, oth
src/main/org/apache/tools/ant/taskdefs/optional/junit/DOMUtil.java:54
↓ 9 callers
Method
addDTD
Creates the nested <code><dtd></code> element. Not allowed if this catalog is itself a reference to another catalog -- that is, a catalog canno
src/main/org/apache/tools/ant/types/XMLCatalog.java:294
↓ 9 callers
Method
addParam
Create new parameters to pass to custom selector. @param p The new Parameter object
src/main/org/apache/tools/ant/types/selectors/ExtendSelector.java:97
↓ 9 callers
Method
addParam
Add a parameter to be set during the XSL transformation. @param name the parameter name. @param expression the parameter value as an expression string
src/main/org/apache/tools/ant/taskdefs/XSLTLiaison.java:57
↓ 9 callers
Method
asOptional
Return {@link #as(Class)} as an {@link Optional}. @param <T> desired type @param clazz a class @return {@link Optional} resource of a desired type @si
src/main/org/apache/tools/ant/types/Resource.java:448
↓ 9 callers
Method
ascii2native
Replaces Unicode-Escapes. <p>Expects to be called once per line if applied to a file.</p> @param line the input line @return the translated line
src/main/org/apache/tools/ant/util/Native2AsciiUtils.java:53
↓ 9 callers
Method
assertFileExists
assert that a file exists, relative to the project @param message message if there is no mpatch @param filename filename to resolve against the projec
src/tests/junit/org/apache/tools/ant/taskdefs/UnzipTest.java:203
↓ 9 callers
Method
assertFileIsNotPresent
(String f)
src/tests/junit/org/apache/tools/ant/taskdefs/SyncTest.java:169
↓ 9 callers
Method
assertStringValue
(String expected, Resource r)
src/tests/junit/org/apache/tools/ant/types/resources/LazyResourceCollectionTest.java:196
↓ 9 callers
Method
assertTaskDefFails
(final Class<?> taskClass, final String message)
src/tests/junit/org/apache/tools/ant/ProjectTest.java:202
↓ 9 callers
Method
configure
Configure the liaison from the XSLTProcess task @param xsltTask the XSLTProcess task
src/main/org/apache/tools/ant/taskdefs/XSLTLiaison2.java:32
↓ 9 callers
Method
containsAll
(final String lines, final Predicate<? super String> test1,
src/tests/junit/org/apache/tools/ant/taskdefs/modules/JmodTest.java:669
↓ 9 callers
Method
createParam
Creates a configured parameter object. @param name name of the parameter @param value value of the parameter @return the parameter object
src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java:834
↓ 9 callers
Method
delete
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/taskdefs/Delete.java:822
↓ 9 callers
Method
dieOnCircularReference
(Stack<Object> stk, Project p)
src/main/org/apache/tools/ant/types/ArchiveFileSet.java:582
↓ 9 callers
Method
doTest
Test the interface semantic of Caches. This method does some common test for cache implementations. A cache must return a stored value and a valid ite
src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java:378
↓ 9 callers
Method
execute
Call the rmic compiler. @return true if has the compilation been successful @throws BuildException on error
src/main/org/apache/tools/ant/taskdefs/rmic/RmicAdapter.java:53
↓ 9 callers
Method
findJarName
try to guess the name of the given file. <p>If this jar has a classpath attribute in its manifest, we can assume that it will only require an index o
src/main/org/apache/tools/ant/taskdefs/Jar.java:1077
↓ 9 callers
Method
from
(String from)
src/tests/junit/org/apache/tools/mail/MailMessageTest.java:529
↓ 9 callers
Method
getAbsolutePath
()
src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTaskMirrorImpl.java:128
↓ 9 callers
Method
getAction
Returns the action field. @return A string representing the "action" attribute.
src/main/org/apache/tools/ant/taskdefs/optional/j2ee/ServerDeploy.java:121
↓ 9 callers
Method
getArguments
Builds the arguments to pass to weblogic.deploy according to the supplied action. @return A String containing the arguments for the weblogic.deploy to
src/main/org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.java:123
↓ 9 callers
Method
getAssembledReader
Assemble the reader @return the assembled reader @exception BuildException if an error occurs
src/main/org/apache/tools/ant/filters/util/ChainReaderHelper.java:228
↓ 9 callers
Method
getBytes
Get value as eight bytes in big endian byte order. @return value as eight bytes in big endian order
src/main/org/apache/tools/zip/ZipEightByteInteger.java:102
↓ 9 callers
Method
getBytes
Get value as two bytes in big endian byte order. @return the value as a a two byte array in big endian byte order @since 1.1
src/main/org/apache/tools/zip/ZipShort.java:67
↓ 9 callers
Method
getCompilerVersion
The implementation for this particular task. <p>Defaults to the build.compiler property but can be overridden via the compiler attribute.</p> <p>Thi
src/main/org/apache/tools/ant/taskdefs/Javac.java:1280
↓ 9 callers
Method
getData
()
src/tests/junit/org/example/junitlauncher/FooBarData.java:28
↓ 9 callers
Method
getDestDir
Get the destination directory. @return the destination directory into which EJB jars are to be written
src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java:146
↓ 9 callers
Method
getErrorStream
Get the error stream for the redirector @return the redirector's error stream or null if no output has been configured
src/main/org/apache/tools/ant/taskdefs/Redirector.java:938
↓ 9 callers
Method
getException
Get the exception encountered, if any. @return the Exception encountered.
src/main/org/apache/tools/ant/taskdefs/StreamPumper.java:210
↓ 9 callers
Method
getExecutable
Get the executable. @return the program to run--null if not yet set.
src/main/org/apache/tools/ant/types/Commandline.java:354
↓ 9 callers
Method
getExecutable
(String exe)
src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java:147
↓ 9 callers
Method
getExtensionStack
Extension stack. Used to keep track of targets that extend extension points. @return a list of three element string arrays where the first element is
src/main/org/apache/tools/ant/ProjectHelper.java:187
↓ 9 callers
Method
getExtraField
Looks up an extra field by its header id. @param type ZipShort @return {@code null} if no such field exists.
src/main/org/apache/tools/zip/ZipEntry.java:491
↓ 9 callers
Method
getFileName
@return the filename portion of the location @since Ant 1.6
src/main/org/apache/tools/ant/Location.java:105
↓ 9 callers
Method
getFilename
Get the filename to be acted upon. @return if it was set, null if not.
src/main/org/apache/tools/ant/taskdefs/optional/sos/SOS.java:311
↓ 9 callers
Method
getImportStack
Import stack. Used to keep track of imported files. Error reporting should display the import path. @return the stack of import source objects.
src/main/org/apache/tools/ant/ProjectHelper.java:174
↓ 9 callers
Method
getNotNullFile
Get the file represented by this FileResource, ensuring it is not null. @return the not-null File. @throws BuildException if file is null.
src/main/org/apache/tools/ant/types/resources/FileResource.java:385
↓ 9 callers
Method
getSrc
Get the archive from which entries will be extracted. @param p the project to use @return the source file
src/main/org/apache/tools/ant/types/ArchiveFileSet.java:167
↓ 9 callers
Method
getStatement
Creates and configures a Statement instance which is then cached for subsequent calls. <p>Subclasses that want to provide different Statement instanc
src/main/org/apache/tools/ant/taskdefs/SQLExec.java:973
↓ 9 callers
Method
getStatus
The status code returned by System.exit() @return the status code returned by System.exit()
src/main/org/apache/tools/ant/ExitException.java:58
↓ 9 callers
Method
getUserInfo
Get the user information. @return the user information
src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHBase.java:357
↓ 9 callers
Method
getVariables
get the variable list as an array @return array of key=value assignment strings @throws BuildException if any variable is misconfigured
src/main/org/apache/tools/ant/types/Environment.java:155
↓ 9 callers
Method
getViewPathBasename
Get the basename path of the item in a clearcase view @return basename
src/main/org/apache/tools/ant/taskdefs/optional/clearcase/ClearCase.java:163
↓ 9 callers
Method
init
Initialisation routine called after handler creation with the element name and attributes. This configures the element with its attributes and sets it
src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java:730
↓ 9 callers
Method
interrupt
()
src/main/org/apache/tools/ant/taskdefs/Parallel.java:484
↓ 9 callers
Method
isOutOfDate
Returns dependency information on these two files. If src has been modified later than target, it returns true. If target doesn't exist, it likewise r
src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java:580
↓ 9 callers
Method
isResolved
Indicates whether this entry has been resolved. In general a constant pool entry can reference another constant pool entry by its index value. Resolut
src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPoolEntry.java:201
↓ 9 callers
Method
parse
Split the array into ExtraFields and populate them with the given data as local file data, throwing an exception if the data cannot be parsed. @param
src/main/org/apache/tools/zip/ExtraFieldUtils.java:117
↓ 9 callers
Method
parseHumanSizes
Takes a human readable size representation eg 10K a long value. Doesn't support 1.1K or other rational values. @param humanSize the amount as a human
src/main/org/apache/tools/ant/util/StringUtils.java:203
↓ 9 callers
Method
registerDTD
Registers the location of a local DTD file or resource. By registering a local DTD, EJB descriptors can be parsed even when the remote servers which
src/main/org/apache/tools/ant/taskdefs/optional/ejb/IPlanetEjbc.java:191
↓ 9 callers
Method
removeExtraneousAuthority
Authority field is unnecessary, but harmless, in file: URIs. Java 1.4 does not produce it when using File.toURI.
src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java:676
↓ 9 callers
Method
saveAs
Save the properties to a file. @param dest the file to write to @throws IOException if save fails
src/main/org/apache/tools/ant/util/LayoutPreservingProperties.java:256
↓ 9 callers
Method
selectorCount
Gives the count of the number of selectors in this container @return the number of selectors in this container
src/main/org/apache/tools/ant/types/selectors/SelectorContainer.java:45
↓ 9 callers
Method
send
(String retmsg)
src/tests/junit/org/apache/tools/ant/DummyMailServer.java:128
↓ 9 callers
Method
setDatetime
Set the new modification time of file(s) touched in the format "MM/DD/YYYY HH:MM AM <i>or</i> PM" or "MM/DD/YYYY HH:MM:SS AM <i>or</i>
src/main/org/apache/tools/ant/taskdefs/Touch.java:117
↓ 9 callers
Method
setExecutable
Set the name of the executable program. @param value the name of the executable program.
src/main/org/apache/tools/ant/taskdefs/ExecTask.java:135
↓ 9 callers
Method
setExtraFields
Replaces all currently attached extra fields with the new array. @param fields an array of extra fields @since 1.1
src/main/org/apache/tools/zip/ZipEntry.java:310
↓ 9 callers
Method
setFeature
Set a custom feature for the JAXP factory implementation. @param name the feature name. @param value the value of the feature @since Ant 1.9.8
src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java:460
↓ 9 callers
Method
setHeaderId
Set the header id. @param headerId the header id to use
src/main/org/apache/tools/zip/UnrecognizedExtraField.java:43
↓ 9 callers
Method
setJavaCommand
Set the Java "command" for this ExecuteJava. @param javaCommand the classname and arguments in a Commandline.
src/main/org/apache/tools/ant/taskdefs/ExecuteJava.java:63
↓ 9 callers
Method
setName
Set the definition's name. @param name the name of the definition.
src/main/org/apache/tools/ant/AntTypeDefinition.java:63
↓ 9 callers
Method
setName
Sets the name pattern. @param name The pattern string.
src/main/org/apache/tools/ant/types/PatternSet.java:66
↓ 9 callers
Method
setPath
Set the path to use when loading the component. @param path a Path instance containing the classpath to use.
src/main/org/apache/tools/ant/taskdefs/Javadoc.java:178
↓ 9 callers
Method
setSize
Sets the uncompressed size of the entry data. @param size the uncompressed size in bytes @exception IllegalArgumentException if the specified size is
src/main/org/apache/tools/zip/ZipEntry.java:649
↓ 9 callers
Method
setTarget
The target of the new Ant project to execute. Defaults to the new project's default target. @param targetToAdd the name of the target to invoke.
src/main/org/apache/tools/ant/taskdefs/Ant.java:667
↓ 9 callers
Method
setVm
Set the executable used to start the new JVM. @param vm the executable to use.
src/main/org/apache/tools/ant/types/CommandlineJava.java:277
↓ 9 callers
Method
startsWithPathSeparator
Tests whether the given path starts with a path separator. @param path path to check. @return true if the path starts with a path separator. @since An
src/main/org/apache/tools/ant/util/FileUtils.java:1984
↓ 9 callers
Method
verifyFailed
(final Path trackerFile, final String className, final String methodName)
src/tests/junit/org/example/junitlauncher/Tracker.java:145
↓ 9 callers
Method
write
Writes a byte to the current tar archive entry. This method simply calls read(byte[], int, int). @param b The byte written. @throws IOException on e
src/main/org/apache/tools/tar/TarOutputStream.java:378
↓ 8 callers
Method
addExtraField
Adds an extra field - replacing an already present extra field of the same type. <p>If no extra field of the same type exists, the field will be adde
src/main/org/apache/tools/zip/ZipEntry.java:406
↓ 8 callers
Method
addLocationToBuildException
Add location to build exception. @param ex the build exception, if the build exception does not include @param newLocation the location of t
src/main/org/apache/tools/ant/ProjectHelper.java:564
↓ 8 callers
Method
asOptions
convert regex option flag characters to regex options <dl> <dt>g</dt><dd>Regexp.REPLACE_ALL</dd> <dt>i</dt><dd>RegexpMatcher.MATCH_CASE_INSENSITIV
src/main/org/apache/tools/ant/util/regexp/RegexpUtil.java:62
↓ 8 callers
Method
assertEqualsIgnoreDriveCase
convenience method the drive letter is in lower case under cygwin calling this method allows tests where FileUtils.normalize is called via resolveFile
src/tests/junit/org/apache/tools/ant/ProjectTest.java:189
↓ 8 callers
Method
assertEqualsIgnoreDriveCaseGeneric
(String s1, String s2)
src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java:1001
↓ 8 callers
Method
assertInvoked
()
src/tests/junit/org/apache/tools/ant/util/LineOrientedOutputStreamTest.java:145
↓ 8 callers
Method
assumeJava1_3Plus
Shall we assume JDK 1.3+ command line switches? @return true if jdk 1.3 and above @since Ant 1.10.7
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java:687
↓ 8 callers
Method
assumeJava1_5Plus
Shall we assume JDK 1.5+ command line switches? @return true if jdk 1.5 and above @since Ant 1.10.7
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java:730
↓ 8 callers
Method
checkChildrenAllowed
check that it is ok to add children, 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:354
↓ 8 callers
Method
classNameToResource
Return the resource name of a class name. @param className the name of the class to convert. @return the corresponding resource name. @since Ant 1.7.0
src/main/org/apache/tools/ant/util/LoaderUtils.java:125
↓ 8 callers
Method
cleanup
Cleans up any resources held by this classloader. Any open archive files are closed.
src/main/org/apache/tools/ant/AntClassLoader.java:1428
↓ 8 callers
Method
clear
Clear out the whole command line.
src/main/org/apache/tools/ant/types/Commandline.java:570
↓ 8 callers
Method
clone
()
src/main/org/apache/tools/zip/ZipLong.java:184
↓ 8 callers
Method
countConditions
Count the conditions. @return the number of conditions in the container @since 1.1
src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java:72
↓ 8 callers
Method
createDescription
(final Test test)
src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java:225
↓ 8 callers
Method
createFile
(File folder, String relativePath)
src/tests/junit/org/apache/tools/ant/taskdefs/compilers/JavacExternalTest.java:228
↓ 8 callers
Method
createFile
(File folder, String relativePath)
src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java:627
↓ 8 callers
Method
createRunner
(Class<?> clazz)
src/tests/junit/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunnerTest.java:159
↓ 8 callers
Method
error
Log a message with <code>MSG_ERR</code> priority @param message the message to log
src/main/org/apache/tools/ant/util/TaskLogger.java:52
↓ 8 callers
Method
execute
Do the work. @throws BuildException in a number of circumstances: <ul> <li>if failIfExecFails is set to true and the process cannot be started</li> <
src/main/org/apache/tools/ant/taskdefs/ExecTask.java:517
↓ 8 callers
Method
failForBigNumber
(String field, long value, long maxValue)
src/main/org/apache/tools/tar/TarOutputStream.java:588
↓ 8 callers
Method
flush
Flush both output streams. @throws IOException on error
src/main/org/apache/tools/ant/util/TeeOutputStream.java:59
↓ 8 callers
Method
getBootclasspath
The bootclasspath to use. @return the bootclass path. @since Ant 1.6.3
src/main/org/apache/tools/ant/taskdefs/optional/Javah.java:262
↓ 8 callers
Method
getClassName
()
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/confined/ListenerDefinition.java:69
↓ 8 callers
Method
getConditions
Iterate through all conditions. @return an enumeration to use for iteration @since 1.1
src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java:82
↓ 8 callers
Method
getConnection
Caches the connection returned by the base class's getConnection method. <p>Subclasses that need to provide a different connection than the base clas
src/main/org/apache/tools/ant/taskdefs/SQLExec.java:950
← previous
next →
601–700 of 14,300, ranked by callers