A B C D E F G H I J L M N O P S T W

A

AbstractLogger - class org.codehaus.cargo.util.internal.log.AbstractLogger.
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.
AntLogger - class org.codehaus.cargo.util.log.AntLogger.
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 org.codehaus.cargo.util.AntTaskFactory.
Interface that allows random classes to use Ant tasks without needing an explicit reference to a project, target or task.
AntUtils - class org.codehaus.cargo.util.AntUtils.
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
 
addTokenToFilterChain(FilterChain, String, String) - Method in class org.codehaus.cargo.util.AntUtils
Add a token to an existing filter chain.
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 org.codehaus.cargo.util.Base64.
Provides utility methods to Base64 encode data.

C

CargoException - exception org.codehaus.cargo.util.CargoException.
Base exception class for all Cargo classes.
CargoException(String) - Constructor for class org.codehaus.cargo.util.CargoException
 
CargoException(String, Throwable) - Constructor for class 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) - 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.
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. {@inheritDoc}
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. Implementations of this interface should correctly initialize the task by setting the name, the project and optionally the owning target.
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 - Static variable in class org.codehaus.cargo.util.log.LogLevel
Represents a debug logging level.
DefaultAntTaskFactory - class org.codehaus.cargo.util.DefaultAntTaskFactory.
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 org.codehaus.cargo.util.DefaultFileHandler.
File operations that are performed in Cargo.
DefaultFileHandler() - Constructor for class org.codehaus.cargo.util.DefaultFileHandler
Initializations.
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.
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.

E

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 org.codehaus.cargo.util.FileHandler.
File operations that are performed in Cargo.
FileLogger - class org.codehaus.cargo.util.log.FileLogger.
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 org.codehaus.cargo.util.FileUtils.
Deprecated. use FileHandler instead
FileUtils() - Constructor for class org.codehaus.cargo.util.FileUtils
Deprecated.  

G

getChildren(String) - Method in class org.codehaus.cargo.util.DefaultFileHandler
getChildren(String) - Method in interface org.codehaus.cargo.util.FileHandler
 
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 class org.codehaus.cargo.util.log.LogLevel
 
getLevel() - Method in interface org.codehaus.cargo.util.log.Logger
 
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
 
getOriginalThrowable() - Method in class 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
 
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
 

H

hashCode() - Method in class org.codehaus.cargo.util.log.LogLevel

I

INFO - Static variable in class org.codehaus.cargo.util.log.LogLevel
Represents an info logging level.
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.
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 org.codehaus.cargo.util.JarUtils.
Some utility classes for manipulating JAR files.
JarUtils() - Constructor for class org.codehaus.cargo.util.JarUtils
 

L

LogLevel - class org.codehaus.cargo.util.log.LogLevel.
Definition of logging levels for Cargo's logs.
Loggable - interface org.codehaus.cargo.util.log.Loggable.
All classes that want to perform logging must implement this interface.
LoggedObject - class org.codehaus.cargo.util.log.LoggedObject.
Helper class for implementing Loggable methods.
LoggedObject() - Constructor for class org.codehaus.cargo.util.log.LoggedObject
 
Logger - interface org.codehaus.cargo.util.log.Logger.
Simple interface for logging and tracing.

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 org.codehaus.cargo.util.log.NullLogger.
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

printStackTrace() - Method in class org.codehaus.cargo.util.CargoException
Print the full stack trace, including the original exception.
printStackTrace(PrintStream) - Method in class org.codehaus.cargo.util.CargoException
Print the full stack trace, including the original exception.
printStackTrace(PrintWriter) - Method in class org.codehaus.cargo.util.CargoException
Print the full stack trace, including the original exception.

S

SimpleLogger - class org.codehaus.cargo.util.log.SimpleLogger.
Simple implementation which sends log messages to the console (stdout).
SimpleLogger() - Constructor for class org.codehaus.cargo.util.log.SimpleLogger
 
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

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 - Static variable in class org.codehaus.cargo.util.log.LogLevel
Represents a warning logging level.
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.

A B C D E F G H I J L M N O P S T W

Copyright © 2004-2008 Codehaus. All Rights Reserved.