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

A

add(T) - Method in class org.ow2.orchestra.util.Chainer
 
add(int, T) - Method in class org.ow2.orchestra.util.Chainer
 
ALIAS_HELP - Static variable in class org.ow2.orchestra.util.TraceFormatter
 
ALIAS_PROPERTY_KEY - Static variable in class org.ow2.orchestra.util.TraceFormatter
 
assemble(Serializable, Object) - Method in class org.ow2.orchestra.util.hibernate.GenericEnumUserType
 

B

badStateIfEquals(Object, Object, String) - Static method in class org.ow2.orchestra.util.Misc
This method throw an IllegalStateException if the given parameters are equals (using Object.equals(Object)
badStateIfFalse(boolean, String) - Static method in class org.ow2.orchestra.util.Misc
This method throw an IllegalStateException if the given parameter is false
badStateIfNotNull(Object, String) - Static method in class org.ow2.orchestra.util.Misc
This method throw an IllegalStateException if the given parameter is not null
badStateIfNull(Object, String) - Static method in class org.ow2.orchestra.util.Misc
This method throw an IllegalStateException if the given parameter is null
badStateIfTrue(boolean, String) - Static method in class org.ow2.orchestra.util.Misc
This method throw an IllegalStateException if the given parameter is true
Base64 - Class in org.ow2.orchestra.util
Encodes and decodes to and from Base64 notation.
Base64.InputStream - Class in org.ow2.orchestra.util
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.InputStream(InputStream) - Constructor for class org.ow2.orchestra.util.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
Base64.InputStream(InputStream, int) - Constructor for class org.ow2.orchestra.util.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - Class in org.ow2.orchestra.util
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream(OutputStream) - Constructor for class org.ow2.orchestra.util.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, int) - Constructor for class org.ow2.orchestra.util.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.

C

Chainer<T> - Class in org.ow2.orchestra.util
Generic chainer.
Chainer() - Constructor for class org.ow2.orchestra.util.Chainer
 
checkArgsNotNull(Object...) - Static method in class org.ow2.orchestra.util.Misc
Check that the given parameters are not null.
checkArgsNotNull(int, Object...) - Static method in class org.ow2.orchestra.util.Misc
Check that the given parameters are not null.
checkReallySerializable(T) - Static method in class org.ow2.orchestra.util.Misc
Check that the given object is actually serializable.
ClassDataTool - Class in org.ow2.orchestra.util
 
ClassDataTool.MyVisitor - Class in org.ow2.orchestra.util
 
ClassDataTool.MyVisitor() - Constructor for class org.ow2.orchestra.util.ClassDataTool.MyVisitor
 
clear() - Method in class org.ow2.orchestra.util.WeakValueMap
 
close() - Method in class org.ow2.orchestra.util.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
close(Closeable) - Static method in class org.ow2.orchestra.util.Misc
Equivalent to #reflectClose(closeable)
close(XMLEncoder) - Static method in class org.ow2.orchestra.util.Misc
Equivalent to {@link #reflectClose(encoder)
close(XMLDecoder) - Static method in class org.ow2.orchestra.util.Misc
Equivalent to {@link #reflectClose(decoder)
Command<T> - Interface in org.ow2.orchestra.util
 
componentsToString(Object[], boolean) - Static method in class org.ow2.orchestra.util.Misc
Smart toString() implementation of arrays.
contains(T) - Method in class org.ow2.orchestra.util.Chainer
 
createLogRecord(Logger, Level, String, String, String, Object...) - Static method in class org.ow2.orchestra.util.Misc
This method creates a LogRecord and fills it with the given parameters
createTempFile(String, String, File) - Static method in class org.ow2.orchestra.util.Misc
Perform java.io.File.createTempFile with retries when it fail (limit of 10 retries) (Use to by-pass bug #6325169 on SUN JDK 1.5 on windows) Sames parameter as java.io.File.createTempFile method

D

DAY - Static variable in class org.ow2.orchestra.util.Misc
Number of milleseconds in a given day
DECODE - Static variable in class org.ow2.orchestra.util.Base64
Specify decoding.
decode(byte[], int, int, int) - Static method in class org.ow2.orchestra.util.Base64
Very low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class org.ow2.orchestra.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class org.ow2.orchestra.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeFileToFile(String, String) - Static method in class org.ow2.orchestra.util.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class org.ow2.orchestra.util.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class org.ow2.orchestra.util.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class org.ow2.orchestra.util.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decodeToObject(String, int) - Static method in class org.ow2.orchestra.util.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
deepCopy(Object) - Method in class org.ow2.orchestra.util.hibernate.GenericEnumUserType
 
deepToString(Object) - Static method in class org.ow2.orchestra.util.Misc
 
deleteDir(File) - Static method in class org.ow2.orchestra.util.Misc
Delete a given directory and all its contents (whether they are file or directory) WARNING: this method unconditionally modifies the underlying filesystem by erasing files and directories.
deserialize(byte[]) - Static method in class org.ow2.orchestra.util.Misc
 
disassemble(Object) - Method in class org.ow2.orchestra.util.hibernate.GenericEnumUserType
 
DONT_BREAK_LINES - Static variable in class org.ow2.orchestra.util.Base64
Don't break lines when encoding (violates strict Base64 specification)
dynamicLog(int, Level, String, Object...) - Static method in class org.ow2.orchestra.util.Misc
Log a message through the logger of the caller at the given offset in the stack trace.

E

ENCODE - Static variable in class org.ow2.orchestra.util.Base64
Specify encoding.
encodeBytes(byte[]) - Static method in class org.ow2.orchestra.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class org.ow2.orchestra.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class org.ow2.orchestra.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class org.ow2.orchestra.util.Base64
Encodes a byte array into Base64 notation.
encodeFileToFile(String, String) - Static method in class org.ow2.orchestra.util.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class org.ow2.orchestra.util.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class org.ow2.orchestra.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class org.ow2.orchestra.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class org.ow2.orchestra.util.Base64
Convenience method for encoding data to a file.
entrySet() - Method in class org.ow2.orchestra.util.WeakValueMap
 
equals(Object, Object) - Method in class org.ow2.orchestra.util.hibernate.GenericEnumUserType
 

F

fastDynamicLog(int, Logger, Level, String, Object...) - Static method in class org.ow2.orchestra.util.Misc
Log a message through the given logger for the caller at the given offset in the stack trace.
fastDynamicLog(Logger, Level, String, Object...) - Static method in class org.ow2.orchestra.util.Misc
Equivalent to {@link Misc#fastDynamicLog(int, Logger, Level, String, Object...)
Final<T> - Class in org.ow2.orchestra.util
This class provides an efficient way --- using hardware instructions if available --- for holding a variable that can only be initialized once (aka: final variables).
Final() - Constructor for class org.ow2.orchestra.util.Final
 
findAllInterfaces(Class<?>) - Static method in class org.ow2.orchestra.util.Misc
Return the list of Class objects representing all interfaces a given class implements.
findAllSuperTypes(Class<?>) - Static method in class org.ow2.orchestra.util.Misc
Return the list of Class objects representing all super type a given class implements.
findAllTypes(Class<?>) - Static method in class org.ow2.orchestra.util.Misc
Return the list of Class objects representing every types a given class implements.
findConstructorClassArgs(Class<?>[], Class<?>) - Static method in class org.ow2.orchestra.util.Misc
Return the Class[] array representing the types a constructor take as parameters.
findMethodClassArgs(Class<?>[], Class<?>, String) - Static method in class org.ow2.orchestra.util.Misc
Return the Class[] array representing the types a given method take as parameters.
findNull(Object...) - Static method in class org.ow2.orchestra.util.Misc
Find null parameters in the given list.
flushBase64() - Method in class org.ow2.orchestra.util.Base64.OutputStream
Method added by PHIL.
format(LogRecord) - Method in class org.ow2.orchestra.util.TraceFormatter
 
formatDelay(long) - Static method in class org.ow2.orchestra.util.Misc
Format a delay.
formatDelay(double) - Static method in class org.ow2.orchestra.util.Misc
Equivalent to Misc.formatDelay(long).
formatTime(long) - Static method in class org.ow2.orchestra.util.TraceFormatter
Returns a "concise" ISO-8601 "like" time format: yy-MM-dd HH:mm:ss.SSS z This method is thread-safe.

G

generateJar(Class<?>...) - Static method in class org.ow2.orchestra.util.Misc
 
generateJar(Map<String, byte[]>) - Static method in class org.ow2.orchestra.util.Misc
Generates Jar from resources
GenericEnumUserType - Class in org.ow2.orchestra.util.hibernate
 
GenericEnumUserType() - Constructor for class org.ow2.orchestra.util.hibernate.GenericEnumUserType
 
get(int) - Method in class org.ow2.orchestra.util.Chainer
 
get() - Method in class org.ow2.orchestra.util.Final
Return the value of the initialized variable.
get(Object) - Method in class org.ow2.orchestra.util.WeakValueMap
 
getAllContentFrom(File) - Static method in class org.ow2.orchestra.util.Misc
Equivalent to getAllContentFrom(new FileInputStream(file));
getAllContentFrom(InputSource) - Static method in class org.ow2.orchestra.util.Misc
Equivalent to getAllContentFrom(source.getByteStream(source));
getAllContentFrom(URL) - Static method in class org.ow2.orchestra.util.Misc
Return the whole underlying stream content into a single String.
getAllContentFrom(InputStream) - Static method in class org.ow2.orchestra.util.Misc
Return the whole underlying stream content into a single String.
getAsList() - Method in class org.ow2.orchestra.util.Chainer
 
getCaller(int) - Static method in class org.ow2.orchestra.util.Misc
Return the StackTraceElement at the given offset from this method invocation.
getChainOf(List<T>) - Static method in class org.ow2.orchestra.util.Misc
Return a proxy that forward void-method invocations to each object specified in the list elements.
getClassData(Class<?>) - Static method in class org.ow2.orchestra.util.ClassDataTool
 
getClasses(Class<?>...) - Static method in class org.ow2.orchestra.util.ClassDataTool
 
getClassName() - Method in class org.ow2.orchestra.util.ClassDataTool.MyVisitor
 
getCurrentThreadStackTrace() - Static method in class org.ow2.orchestra.util.Misc
 
getDirContentFrom(File) - Static method in class org.ow2.orchestra.util.Misc
Get all files in this directory.
getGenericFullName(Class<?>) - Static method in class org.ow2.orchestra.util.Misc
Return the generic name of a given class.
getHumanReadableId(String) - Static method in class org.ow2.orchestra.util.Misc
Generates a human readable id prefixed by the given String.
getHumanReadableId() - Static method in class org.ow2.orchestra.util.Misc
Generates a human readable id as a long.
getInterfaces() - Method in class org.ow2.orchestra.util.ClassDataTool.MyVisitor
 
getLoggerProxyFor(T, Logger) - Static method in class org.ow2.orchestra.util.Misc
Return a proxy that log method invocations through the provided logger.
getMBeanProxy(Class<T>, String, String) - Static method in class org.ow2.orchestra.util.Misc
Return a proxy implementing all the interfaces specified that forward method invocations to the specified MBean.
getPermissionsSize(Permissions) - Static method in class org.ow2.orchestra.util.Misc
 
getRandomString(int) - Static method in class org.ow2.orchestra.util.Misc
Generate a RANDOM String of the given size.
getResources(Class<?>...) - Static method in class org.ow2.orchestra.util.Misc
 
getResourcesFromZip(byte[]) - Static method in class org.ow2.orchestra.util.Misc
 
getSize() - Method in class org.ow2.orchestra.util.Misc.NullCheckResult
Returns the number of parameters given to Misc.findNull(Object...)
getStackTraceFrom(Throwable) - Static method in class org.ow2.orchestra.util.Misc
 
getStackTraceFrom(StackTraceElement[]) - Static method in class org.ow2.orchestra.util.Misc
 
getStringFrom(Misc.NullCheckResult, String...) - Static method in class org.ow2.orchestra.util.Misc
Return strings mapped to null values in a given @{link Misc.NullCheckResult. .
getSuperClassName() - Method in class org.ow2.orchestra.util.ClassDataTool.MyVisitor
 
getUniqueId(String) - Static method in class org.ow2.orchestra.util.Misc
Generate a unique identifier prefixed by the given String.
getValue() - Method in class org.ow2.orchestra.util.Final
Return the current value of this variable.
GZIP - Static variable in class org.ow2.orchestra.util.Base64
Specify that data should be gzip-compressed.

H

handle(Callback[]) - Method in class org.ow2.orchestra.util.SimpleCallbackHandler
 
handle(Callback[]) - Method in class org.ow2.orchestra.util.StandardCallbackHandler
 
hashCode(Object) - Method in class org.ow2.orchestra.util.hibernate.GenericEnumUserType
 
hasNull() - Method in class org.ow2.orchestra.util.Misc.NullCheckResult
Returns true if some parameters given to Misc.findNull(Object...)

I

identityToString(Object) - Static method in class org.ow2.orchestra.util.Misc
Return an "identity string" for a given object.
init(T) - Method in class org.ow2.orchestra.util.Final
Initialize this variable to the given value.
invoke(Object, Method, Object[]) - Method in class org.ow2.orchestra.util.Chainer
 
invoke(Object, Method, Object[]) - Method in class org.ow2.orchestra.util.LoggingInvocationHandler
 
invoke(Object, Method, Object[]) - Method in class org.ow2.orchestra.util.MBeanInvocationHandler
 
isInitialized() - Method in class org.ow2.orchestra.util.Final
Check the initialized status of this final variable.
isMutable() - Method in class org.ow2.orchestra.util.hibernate.GenericEnumUserType
 
isNull(int) - Method in class org.ow2.orchestra.util.Misc.NullCheckResult
Returns true if the i th parameter given to Misc.findNull(Object...) was null.

L

LEGEND_MSG - Static variable in class org.ow2.orchestra.util.TraceFormatter
 
LINE_SEPARATOR - Static variable in class org.ow2.orchestra.util.Misc
The line separator as defined by the property line.separator.
log(Level, String, Object...) - Static method in class org.ow2.orchestra.util.Misc
Equivalent to {@link Misc#dynamicLog(int, Level, String, Object...)
LoggingInvocationHandler<T> - Class in org.ow2.orchestra.util
 
LoggingInvocationHandler(T, Logger) - Constructor for class org.ow2.orchestra.util.LoggingInvocationHandler
 
lookup(String, Hashtable<String, String>) - Static method in class org.ow2.orchestra.util.Misc
 

M

main(String[]) - Static method in class org.ow2.orchestra.util.Base64
Encodes or decodes two files from the command line; feel free to delete this method (in fact you probably should) if you're embedding this code into a larger program.
MBeanInvocationHandler - Class in org.ow2.orchestra.util
 
MBeanInvocationHandler(String, String) - Constructor for class org.ow2.orchestra.util.MBeanInvocationHandler
 
Misc - Class in org.ow2.orchestra.util
 
Misc.NullCheckResult - Class in org.ow2.orchestra.util
Represents null value returned by Misc.findNull(Object...).

N

NO_OPTIONS - Static variable in class org.ow2.orchestra.util.Base64
No options specified.
nullSafeGet(ResultSet, String[], Object) - Method in class org.ow2.orchestra.util.hibernate.GenericEnumUserType
 
nullSafeSet(PreparedStatement, Object, int) - Method in class org.ow2.orchestra.util.hibernate.GenericEnumUserType
 

O

ORDERED - Static variable in class org.ow2.orchestra.util.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
org.ow2.orchestra.util - package org.ow2.orchestra.util
 
org.ow2.orchestra.util.hibernate - package org.ow2.orchestra.util.hibernate
 

P

prefixAllLines(String, String) - Static method in class org.ow2.orchestra.util.Misc
Return a new string based on the given message string where all lines are prefixed by the given prefix.
primitiveComponentsToString(Object) - Static method in class org.ow2.orchestra.util.Misc
Smart toString() implementation of an array of primitive types.
put(K, V) - Method in class org.ow2.orchestra.util.WeakValueMap
Here we put the key, value pair into the Map using a WeakValue object.

R

RANDOM - Static variable in class org.ow2.orchestra.util.Misc
A RANDOM instance.
random(int, int) - Static method in class org.ow2.orchestra.util.Misc
Returns a random number between min and max value
read() - Method in class org.ow2.orchestra.util.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class org.ow2.orchestra.util.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
reflectClose(Object) - Static method in class org.ow2.orchestra.util.Misc
Invoke the close() method on the given object.
remove(int) - Method in class org.ow2.orchestra.util.Chainer
 
remove(Object) - Method in class org.ow2.orchestra.util.WeakValueMap
 
replace(Object, Object, Object) - Method in class org.ow2.orchestra.util.hibernate.GenericEnumUserType
 
resumeEncoding() - Method in class org.ow2.orchestra.util.Base64.OutputStream
Resumes encoding of the stream.
returnedClass() - Method in class org.ow2.orchestra.util.hibernate.GenericEnumUserType
 

S

serialize(Serializable) - Static method in class org.ow2.orchestra.util.Misc
 
setParameterValues(Properties) - Method in class org.ow2.orchestra.util.hibernate.GenericEnumUserType
 
setValue(T) - Method in class org.ow2.orchestra.util.Final
Set the value of this variable directly.
SimpleCallbackHandler - Class in org.ow2.orchestra.util
 
SimpleCallbackHandler(String, String) - Constructor for class org.ow2.orchestra.util.SimpleCallbackHandler
 
size() - Method in class org.ow2.orchestra.util.WeakValueMap
 
sqlTypes() - Method in class org.ow2.orchestra.util.hibernate.GenericEnumUserType
 
StandardCallbackHandler - Class in org.ow2.orchestra.util
 
StandardCallbackHandler() - Constructor for class org.ow2.orchestra.util.StandardCallbackHandler
 
stringToEnum(Class<E>, String) - Static method in class org.ow2.orchestra.util.Misc
 
suspendEncoding() - Method in class org.ow2.orchestra.util.Base64.OutputStream
Suspends encoding of the stream.

T

TMP_DIR - Static variable in class org.ow2.orchestra.util.Misc
The file that represents the temporary directory.
toString() - Method in class org.ow2.orchestra.util.Final
 
TraceFormatter - Class in org.ow2.orchestra.util
Custom implementation of the SimpleFormatter class.
TraceFormatter() - Constructor for class org.ow2.orchestra.util.TraceFormatter
 

U

UNAVAILABLE_SYMBOL - Static variable in class org.ow2.orchestra.util.TraceFormatter
 
unreachableStatement() - Static method in class org.ow2.orchestra.util.Misc
 
unreachableStatement(String) - Static method in class org.ow2.orchestra.util.Misc
 
URL_SAFE - Static variable in class org.ow2.orchestra.util.Base64
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.

V

visit(int, int, String, String, String, String[]) - Method in class org.ow2.orchestra.util.ClassDataTool.MyVisitor
 
visitAnnotation(String, boolean) - Method in class org.ow2.orchestra.util.ClassDataTool.MyVisitor
 
visitAttribute(Attribute) - Method in class org.ow2.orchestra.util.ClassDataTool.MyVisitor
 
visitClass(byte[]) - Static method in class org.ow2.orchestra.util.ClassDataTool
 
visitEnd() - Method in class org.ow2.orchestra.util.ClassDataTool.MyVisitor
 
visitField(int, String, String, String, Object) - Method in class org.ow2.orchestra.util.ClassDataTool.MyVisitor
 
visitInnerClass(String, String, String, int) - Method in class org.ow2.orchestra.util.ClassDataTool.MyVisitor
 
visitMethod(int, String, String, String, String[]) - Method in class org.ow2.orchestra.util.ClassDataTool.MyVisitor
 
visitOuterClass(String, String, String) - Method in class org.ow2.orchestra.util.ClassDataTool.MyVisitor
 
visitSource(String, String) - Method in class org.ow2.orchestra.util.ClassDataTool.MyVisitor
 

W

warnIfEquals(Level, Object, Object) - Static method in class org.ow2.orchestra.util.Misc
This method logs at the given level a "warning" if the given parameter are equals
warnIfFalse(Level, boolean, String) - Static method in class org.ow2.orchestra.util.Misc
This method logs at the given level a "warning" if the given parameter is false
warnIfNotEquals(Level, Object, Object) - Static method in class org.ow2.orchestra.util.Misc
This method logs at the given level a "warning" if the given parameter are not equals
warnIfNotNull(Level, Object, String) - Static method in class org.ow2.orchestra.util.Misc
This method logs at the given level a "warning" if the given parameter is not null
warnIfNull(Level, Object, String) - Static method in class org.ow2.orchestra.util.Misc
This method logs at the given level a "warning message" if the given parameter is null
warnIfTrue(Level, boolean, String) - Static method in class org.ow2.orchestra.util.Misc
This method logs at the given level a "warning" if the given parameter is true
WeakValueMap<K,V> - Class in org.ow2.orchestra.util
A map implementation with weak values.
WeakValueMap(Class<? extends Map>) - Constructor for class org.ow2.orchestra.util.WeakValueMap
Create a WeakValue map instance backed by a Map of the given type.
write(int) - Method in class org.ow2.orchestra.util.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class org.ow2.orchestra.util.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.
write(String, File) - Static method in class org.ow2.orchestra.util.Misc
Write the given String to the given file using the default encoding.
write(byte[], File) - Static method in class org.ow2.orchestra.util.Misc
 

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

Copyright © 2009 OW2 Consortium. All Rights Reserved.