Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
W
X
A
AbstractLogger
- Class in
org.codehaus.cargo.util.internal.log
Base clas for all Loggers.
AbstractLogger(LogLevel)
- Constructor for class org.codehaus.cargo.util.internal.log.
AbstractLogger
AbstractLogger()
- Constructor for class org.codehaus.cargo.util.internal.log.
AbstractLogger
Default logging level is WARN.
addTokensToFilterChain(FilterChain, Map)
- Method in class org.codehaus.cargo.util.
AntUtils
Add the map of tokens to the filterChain.
addTokenToFilterChain(FilterChain, String, String)
- Method in class org.codehaus.cargo.util.
AntUtils
Add a token to an existing filter chain.
AntLogger
- Class in
org.codehaus.cargo.util.log
Logger implementation that logs to Ant.
AntLogger(Task)
- Constructor for class org.codehaus.cargo.util.log.
AntLogger
Constructor.
AntLogger(Target)
- Constructor for class org.codehaus.cargo.util.log.
AntLogger
Constructor.
AntLogger(Project)
- Constructor for class org.codehaus.cargo.util.log.
AntLogger
Constructor.
AntTaskFactory
- Interface in
org.codehaus.cargo.util
Interface that allows random classes to use Ant tasks without needing an explicit reference to a project, target or task.
AntUtils
- Class in
org.codehaus.cargo.util
Set of common Ant utility methods.
AntUtils()
- Constructor for class org.codehaus.cargo.util.
AntUtils
Uses the
DefaultAntTaskFactory
class when creating Ant tasks.
AntUtils(AntTaskFactory)
- Constructor for class org.codehaus.cargo.util.
AntUtils
append(String, String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
Append a suffix path to an existing path.
append(String, String)
- Method in interface org.codehaus.cargo.util.
FileHandler
Append a suffix path to an existing path.
B
Base64
- Class in
org.codehaus.cargo.util
Provides utility methods to Base64 encode data.
C
CargoException
- Exception in
org.codehaus.cargo.util
Base exception class for all Cargo classes.
CargoException(String)
- Constructor for exception org.codehaus.cargo.util.
CargoException
CargoException(String, Throwable)
- Constructor for exception org.codehaus.cargo.util.
CargoException
compareTo(Object)
- Method in class org.codehaus.cargo.util.log.
LogLevel
copy(InputStream, OutputStream, int)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
Copies data from an InputStream to an OutputStream.
copy(InputStream, OutputStream)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
Copies data from an InputStream to an OutputStream using a default buffer size.
copy(InputStream, OutputStream, int)
- Method in interface org.codehaus.cargo.util.
FileHandler
Copies data from an InputStream to an OutputStream.
copy(InputStream, OutputStream)
- Method in interface org.codehaus.cargo.util.
FileHandler
Copies data from an InputStream to an OutputStream using a default buffer size.
copy(InputStream, OutputStream)
- Method in class org.codehaus.cargo.util.
FileUtils
Deprecated.
Copies data from an InputStream to an OutputStream.
copy(InputStream, OutputStream, int)
- Method in class org.codehaus.cargo.util.
FileUtils
Deprecated.
Copies data from an InputStream to an OutputStream.
copyDirectory(String, String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
Copy a directory from a source to a destination.
copyDirectory(String, String, List)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
Copy a directory from a source to a destination specifying files to be excluded.
copyDirectory(String, String)
- Method in interface org.codehaus.cargo.util.
FileHandler
Copy a directory from a source to a destination.
copyDirectory(String, String, List)
- Method in interface org.codehaus.cargo.util.
FileHandler
Copy a directory from a source to a destination specifying files to be excluded.
copyFile(String, String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
Copy a file from a source to a destination specifying if source files may overwrite newer destination files.
copyFile(String, String, boolean)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
Copy a file from a source to a destination specifying if source files may overwrite newer destination files.
copyFile(String, String, FilterChain)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
Copy a file from a source to a destination using a filterchain to specify token replacement.
copyFile(String, String)
- Method in interface org.codehaus.cargo.util.
FileHandler
Copy a file from a source to a destination specifying if source files may overwrite newer destination files.
copyFile(String, String, boolean)
- Method in interface org.codehaus.cargo.util.
FileHandler
Copy a file from a source to a destination specifying if source files may overwrite newer destination files.
copyFile(String, String, FilterChain)
- Method in interface org.codehaus.cargo.util.
FileHandler
Copy a file from a source to a destination using a filterchain to specify token replacement.
createAntTask(String)
- Method in class org.codehaus.cargo.util.
AntUtils
Creates and returns a new instance of the Ant task mapped to the specified logical name.
createDirectory(String, String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
Convenience method for creating a new directory inside another one.
createDirectory(String, String)
- Method in interface org.codehaus.cargo.util.
FileHandler
Convenience method for creating a new directory inside another one.
createDirectory(URI, String)
- Method in class org.codehaus.cargo.util.
FileUtils
Deprecated.
Convenience method for creating a new directory inside another one.
createDirectory(File, String)
- Method in class org.codehaus.cargo.util.
FileUtils
Deprecated.
createFile(String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
Create a file.
createFile(String)
- Method in interface org.codehaus.cargo.util.
FileHandler
Create a file.
createJarFromDirectory(File, File, JarOutputStream)
- Method in class org.codehaus.cargo.util.
JarUtils
Create a jar file from a particular directory.
createJarFromDirectory(String, File)
- Method in class org.codehaus.cargo.util.
JarUtils
Create a JAR file from a directory, recursing through children.
createProject()
- Method in class org.codehaus.cargo.util.
AntUtils
createSysProperty(String, File)
- Method in class org.codehaus.cargo.util.
AntUtils
Convenience method to create an Ant environment variable that points to a file.
createSysProperty(String, Path)
- Method in class org.codehaus.cargo.util.
AntUtils
Convenience method to create an Ant environment variable that contains a path.
createSysProperty(String, String)
- Method in class org.codehaus.cargo.util.
AntUtils
Convenience method to create an Ant environment variable that contains a string.
createSysProperty(String, URI)
- Method in class org.codehaus.cargo.util.
AntUtils
Convenience method to create an Ant environment variable that contains a string from an URI.
createTask(String)
- Method in interface org.codehaus.cargo.util.
AntTaskFactory
Returns the task that is mapped to the specified name.
createTask(String)
- Method in class org.codehaus.cargo.util.
DefaultAntTaskFactory
Returns the task that is mapped to the specified name.
createTmpDirectory(String)
- Method in class org.codehaus.cargo.util.
FileUtils
Deprecated.
Creates a temporary directory.
createUniqueTmpDirectory()
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
Creates a unique temporary directory.
createUniqueTmpDirectory()
- Method in interface org.codehaus.cargo.util.
FileHandler
Creates a unique temporary directory.
createUniqueTmpDirectory()
- Method in class org.codehaus.cargo.util.
FileUtils
Deprecated.
Creates a unique temporary directory.
D
debug(String, String)
- Method in class org.codehaus.cargo.util.internal.log.
AbstractLogger
Logger debug messages.
debug(String, String)
- Method in interface org.codehaus.cargo.util.log.
Logger
Logger debug messages.
DEBUG
- Static variable in class org.codehaus.cargo.util.log.
LogLevel
Represents a debug logging level.
DefaultAntTaskFactory
- Class in
org.codehaus.cargo.util
Default
AntTaskFactory
for creating Ant tasks.
DefaultAntTaskFactory(Project)
- Constructor for class org.codehaus.cargo.util.
DefaultAntTaskFactory
Constructor using default values for the current task name, current location and current target.
DefaultAntTaskFactory(Project, String, Location, Target)
- Constructor for class org.codehaus.cargo.util.
DefaultAntTaskFactory
DefaultFileHandler
- Class in
org.codehaus.cargo.util
File operations that are performed in Cargo.
DefaultFileHandler()
- Constructor for class org.codehaus.cargo.util.
DefaultFileHandler
Initializations.
delete(String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
Deletes a file or directory, removing any children as appropriate.
delete(String)
- Method in interface org.codehaus.cargo.util.
FileHandler
Deletes a file or directory, removing any children as appropriate.
delete(File)
- Method in class org.codehaus.cargo.util.
FileUtils
Deprecated.
Deletes a file or directory, removing any children as appropriate.
doLog(LogLevel, String, String)
- Method in class org.codehaus.cargo.util.internal.log.
AbstractLogger
Common method for all severity levels.
doLog(LogLevel, String, String)
- Method in class org.codehaus.cargo.util.log.
AntLogger
Common method for all severity levels.
doLog(LogLevel, String, String)
- Method in class org.codehaus.cargo.util.log.
FileLogger
Common method for all severity levels.
doLog(LogLevel, String, String)
- Method in class org.codehaus.cargo.util.log.
NullLogger
Common method for all severity levels.
doLog(LogLevel, String, String)
- Method in class org.codehaus.cargo.util.log.
SimpleLogger
Common method for all severity levels.
Dom4JUtil
- Class in
org.codehaus.cargo.util
This class offers utility methods not exposed in the current dom4j api.
Dom4JUtil()
- Constructor for class org.codehaus.cargo.util.
Dom4JUtil
default constructor will assign no namespaces and use a default file handler.
Dom4JUtil(FileHandler)
- Constructor for class org.codehaus.cargo.util.
Dom4JUtil
constructor will assign no namespaces.
Dom4JXmlFileBuilder
- Class in
org.codehaus.cargo.util
This implementation uses @{link Dom4JUtil Dom4JUtil} to manipulate xml files.
Dom4JXmlFileBuilder(FileHandler)
- Constructor for class org.codehaus.cargo.util.
Dom4JXmlFileBuilder
creates the instance, which will use the specified @{link FileHandler fileHandler} to read or write the xml file.
E
ElementNotFoundException
- Exception in
org.codehaus.cargo.util
Exception raised when an XPath search returns no results.
ElementNotFoundException(String, Element)
- Constructor for exception org.codehaus.cargo.util.
ElementNotFoundException
Constructor that provides a default message based on the XPath and element search.
encode(String)
- Static method in class org.codehaus.cargo.util.
Base64
Base64 encodes the specified string using the platform's default encoding.
encode(byte[])
- Static method in class org.codehaus.cargo.util.
Base64
Base64 encodes the specified bytes.
encodeBase64(byte[])
- Static method in class org.codehaus.cargo.util.
Base64
Base64 encodes the specified bytes.
equals(Object)
- Method in class org.codehaus.cargo.util.log.
LogLevel
exists(String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
exists(String)
- Method in interface org.codehaus.cargo.util.
FileHandler
F
FileHandler
- Interface in
org.codehaus.cargo.util
File operations that are performed in Cargo.
FileLogger
- Class in
org.codehaus.cargo.util.log
File implementation which sends logged messages to a file.
FileLogger(File, boolean)
- Constructor for class org.codehaus.cargo.util.log.
FileLogger
FileLogger(String, boolean)
- Constructor for class org.codehaus.cargo.util.log.
FileLogger
FileUtils
- Class in
org.codehaus.cargo.util
Deprecated.
use
FileHandler
instead
FileUtils()
- Constructor for class org.codehaus.cargo.util.
FileUtils
Deprecated.
G
getAbsolutePath(String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
gets the absolute path from a file that may be relative to the current directory.
getAbsolutePath(String)
- Method in interface org.codehaus.cargo.util.
FileHandler
gets the absolute path from a file that may be relative to the current directory.
getChildren(String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
getChildren(String)
- Method in interface org.codehaus.cargo.util.
FileHandler
getFileHandler()
- Method in class org.codehaus.cargo.util.
Dom4JUtil
getFilename(String)
- Method in class org.codehaus.cargo.util.
FileUtils
Deprecated.
Convenience method that returns a relative filename and its extension from a complete file path (path, name and extension).
getInputStream(String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
getInputStream(String)
- Method in interface org.codehaus.cargo.util.
FileHandler
getLevel()
- Method in class org.codehaus.cargo.util.internal.log.
AbstractLogger
getLevel()
- Method in interface org.codehaus.cargo.util.log.
Logger
getLevel()
- Method in class org.codehaus.cargo.util.log.
LogLevel
getLogger()
- Method in interface org.codehaus.cargo.util.log.
Loggable
getLogger()
- Method in class org.codehaus.cargo.util.log.
LoggedObject
getName(String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
getName(String)
- Method in interface org.codehaus.cargo.util.
FileHandler
getNamespaces()
- Method in class org.codehaus.cargo.util.
Dom4JUtil
getOriginalThrowable()
- Method in exception org.codehaus.cargo.util.
CargoException
getOutputStream(String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
getOutputStream(String)
- Method in interface org.codehaus.cargo.util.
FileHandler
getParent(String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
getParent(String)
- Method in interface org.codehaus.cargo.util.
FileHandler
getSearched()
- Method in exception org.codehaus.cargo.util.
ElementNotFoundException
Getter that returns the XML Element which didn't match on the given XPath.
getTmpPath(String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
Compute the location of a temporary directory.
getTmpPath(String)
- Method in interface org.codehaus.cargo.util.
FileHandler
Compute the location of a temporary directory.
getURL(String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
getURL(String)
- Method in interface org.codehaus.cargo.util.
FileHandler
getXpath()
- Method in exception org.codehaus.cargo.util.
ElementNotFoundException
Getter for the XPath that didn't match.
H
hashCode()
- Method in class org.codehaus.cargo.util.log.
LogLevel
I
info(String, String)
- Method in class org.codehaus.cargo.util.internal.log.
AbstractLogger
Logger informational messages.
info(String, String)
- Method in interface org.codehaus.cargo.util.log.
Logger
Logger informational messages.
INFO
- Static variable in class org.codehaus.cargo.util.log.
LogLevel
Represents an info logging level.
insertElementsUnderXPath(String, String)
- Method in class org.codehaus.cargo.util.
Dom4JXmlFileBuilder
this will parse one or more elements from elementToParse and insert them under the xpath.
insertElementsUnderXPath(String, String)
- Method in interface org.codehaus.cargo.util.
XmlFileBuilder
this will parse one or more elements from elementToParse and insert them under the xpath.
isDirectory(String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
isDirectory(String)
- Method in interface org.codehaus.cargo.util.
FileHandler
isDirectoryEmpty(String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
isDirectoryEmpty(String)
- Method in interface org.codehaus.cargo.util.
FileHandler
J
JarUtils
- Class in
org.codehaus.cargo.util
Some utility classes for manipulating JAR files.
JarUtils()
- Constructor for class org.codehaus.cargo.util.
JarUtils
L
loadFile()
- Method in class org.codehaus.cargo.util.
Dom4JXmlFileBuilder
load the current xml file into a Document.
loadFile()
- Method in interface org.codehaus.cargo.util.
XmlFileBuilder
load the current xml file into a Document.
loadXmlFromFile(String)
- Method in class org.codehaus.cargo.util.
Dom4JUtil
read the specified file into a Document.
Loggable
- Interface in
org.codehaus.cargo.util.log
All classes that want to perform logging must implement this interface.
LoggedObject
- Class in
org.codehaus.cargo.util.log
Helper class for implementing
Loggable
methods.
LoggedObject()
- Constructor for class org.codehaus.cargo.util.log.
LoggedObject
Logger
- Interface in
org.codehaus.cargo.util.log
Simple interface for logging and tracing.
LogLevel
- Class in
org.codehaus.cargo.util.log
Definition of logging levels for Cargo's logs.
M
mkdirs(String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
Create directories for the passed path.
mkdirs(String)
- Method in interface org.codehaus.cargo.util.
FileHandler
Create directories for the passed path.
N
NullLogger
- Class in
org.codehaus.cargo.util.log
Null implementation which does nothing with log messages.
NullLogger()
- Constructor for class org.codehaus.cargo.util.log.
NullLogger
O
org.codehaus.cargo.util
- package org.codehaus.cargo.util
org.codehaus.cargo.util.internal.log
- package org.codehaus.cargo.util.internal.log
org.codehaus.cargo.util.log
- package org.codehaus.cargo.util.log
P
parseIntoElement(String)
- Method in class org.codehaus.cargo.util.
Dom4JUtil
parse the passed string into an
Element
object.
printStackTrace()
- Method in exception org.codehaus.cargo.util.
CargoException
Print the full stack trace, including the original exception.
printStackTrace(PrintStream)
- Method in exception org.codehaus.cargo.util.
CargoException
Print the full stack trace, including the original exception.
printStackTrace(PrintWriter)
- Method in exception org.codehaus.cargo.util.
CargoException
Print the full stack trace, including the original exception.
R
readTextFile(String)
- Method in class org.codehaus.cargo.util.
DefaultFileHandler
readTextFile(String)
- Method in interface org.codehaus.cargo.util.
FileHandler
S
saveXml(Document, String)
- Method in class org.codehaus.cargo.util.
Dom4JUtil
write the xml document to disk, rethrowing checked exceptions as runtime.
selectElementMatchingXPath(String, Element)
- Method in class org.codehaus.cargo.util.
Dom4JUtil
The following will search the given element for the specified xpath and return any node that matches.
selectElementsMatchingXPath(String, Element)
- Method in class org.codehaus.cargo.util.
Dom4JUtil
The following will search the given element for the specified xpath and return a list of nodes that match.
setFile(String)
- Method in class org.codehaus.cargo.util.
Dom4JXmlFileBuilder
sets the name of the file we will read and write.
setFile(String)
- Method in interface org.codehaus.cargo.util.
XmlFileBuilder
sets the name of the file we will read and write.
setFileHandler(FileHandler)
- Method in class org.codehaus.cargo.util.
Dom4JUtil
setLevel(LogLevel)
- Method in class org.codehaus.cargo.util.internal.log.
AbstractLogger
setLevel(LogLevel)
- Method in interface org.codehaus.cargo.util.log.
Logger
setLogger(Logger)
- Method in interface org.codehaus.cargo.util.log.
Loggable
setLogger(Logger)
- Method in class org.codehaus.cargo.util.log.
LoggedObject
setNamespaces(Map)
- Method in class org.codehaus.cargo.util.
Dom4JUtil
setNamespaces(Map)
- Method in class org.codehaus.cargo.util.
Dom4JXmlFileBuilder
assign prefix to namespace mappings used for xpath and other xml operations.
setNamespaces(Map)
- Method in interface org.codehaus.cargo.util.
XmlFileBuilder
assign prefix to namespace mappings used for xpath and other xml operations.
SimpleLogger
- Class in
org.codehaus.cargo.util.log
Simple implementation which sends log messages to the console (stdout).
SimpleLogger()
- Constructor for class org.codehaus.cargo.util.log.
SimpleLogger
T
toLevel(String)
- Static method in class org.codehaus.cargo.util.log.
LogLevel
Transform a log level represented as a string into a
LogLevel
object.
toString()
- Method in class org.codehaus.cargo.util.log.
LogLevel
W
warn(String, String)
- Method in class org.codehaus.cargo.util.internal.log.
AbstractLogger
Logger warning messages.
warn(String, String)
- Method in interface org.codehaus.cargo.util.log.
Logger
Logger warning messages.
WARN
- Static variable in class org.codehaus.cargo.util.log.
LogLevel
Represents a warning logging level.
writeFile()
- Method in class org.codehaus.cargo.util.
Dom4JXmlFileBuilder
write the current xml to disk.
writeFile()
- Method in interface org.codehaus.cargo.util.
XmlFileBuilder
write the current xml to disk.
X
XmlFileBuilder
- Interface in
org.codehaus.cargo.util
This interface intends to remove hard-bindings to a specific xml api.
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
W
X
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2004-2011
Codehaus
. All Rights Reserved.