Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- append(String) - Static method in class org.fest.util.Strings
-
Appends a given
String
to the given target, only if the target does not end with the givenString
to append. - appendCurrentThreadStackTraceToThrowable(Throwable, String) - Static method in class org.fest.util.Throwables
-
Appends the stack trace of the current thread to the one in the given
.Throwable
- areEqual(Object, Object) - Static method in class org.fest.util.Objects
-
Returns
true
if the given objects are equal or if both objects arenull
. - array(T...) - Static method in class org.fest.util.Arrays
-
Returns an array containing the given arguments.
- ArrayFormatter - Class in org.fest.util
-
Understands how to create a
String
representation of an array. - ArrayFormatter() - Constructor for class org.fest.util.ArrayFormatter
- Arrays - Class in org.fest.util
-
Understands utility methods related to arrays.
- Arrays() - Constructor for class org.fest.util.Arrays
B
- byType(Class<T>) - Static method in class org.fest.util.TypeFilter
-
Creates a new
.TypeFilter
C
- cannotCreateNewFile(String, Exception) - Static method in class org.fest.util.Files
- cannotCreateNewFile(String, String) - Static method in class org.fest.util.Files
- cannotCreateNewFile(String, String, Exception) - Static method in class org.fest.util.Files
- castIfBelongsToType(Object, Class<T>) - Static method in class org.fest.util.Objects
-
Casts the given object to the given type only if the object is of the given type.
- close(Closeable...) - Static method in class org.fest.util.Closeables
-
Closes the given
s, ignoring any thrown exceptions.Closeable
- Closeables - Class in org.fest.util
-
Understands utility methods related to
.Closeable
- Closeables() - Constructor for class org.fest.util.Closeables
- closeCloseable(Closeable) - Static method in class org.fest.util.Closeables
- CollectionFilter<T> - Interface in org.fest.util
-
Understands a filter for elements in a collection.
- Collections - Class in org.fest.util
-
Understands utility methods related to collections.
- Collections() - Constructor for class org.fest.util.Collections
- concat(Object...) - Static method in class org.fest.util.Strings
-
Concatenates the given objects into a single
String
. - currentFolder() - Static method in class org.fest.util.Files
-
Returns the current directory.
- currentThreadStackTrace(String) - Static method in class org.fest.util.Throwables
D
- deepToString(Object[], StringBuilder, Set<Object[]>) - Method in class org.fest.util.ArrayFormatter
- delete(File) - Static method in class org.fest.util.Files
-
Deletes the given file or directory.
- descriptorForProperty(String, Object) - Static method in class org.fest.util.Introspection
-
Returns a
for a property matching the given name in the given object.PropertyDescriptor
- duplicatesFrom(Collection<T>) - Static method in class org.fest.util.Collections
-
Returns any duplicate elements from the given collection.
F
- fileNamesIn(File, boolean) - Static method in class org.fest.util.Files
-
Returns the names of the files inside the specified directory.
- fileNamesIn(String, boolean) - Static method in class org.fest.util.Files
-
Returns the names of the files inside the specified directory.
- Files - Class in org.fest.util
-
Understands utility methods related to files.
- Files() - Constructor for class org.fest.util.Files
- FilesException - Exception in org.fest.util
-
Understands an exception thrown by
.Files
- FilesException(String) - Constructor for exception org.fest.util.FilesException
-
Creates a new
.FilesException
- FilesException(String, Throwable) - Constructor for exception org.fest.util.FilesException
-
Creates a new
.FilesException
- filter(Collection<?>) - Method in interface org.fest.util.CollectionFilter
-
Filters a given collection.
- filter(Collection<?>) - Method in class org.fest.util.TypeFilter
-
Filters the given collection by the type specified in this filter.
- filter(Collection<?>, CollectionFilter<T>) - Static method in class org.fest.util.Collections
- flush(Flushable...) - Static method in class org.fest.util.Flushables
-
Flushes the given
s, ignoring any thrown exceptions.Flushable
- Flushables - Class in org.fest.util
-
Understands utility methods related to
.Flushable
- Flushables() - Constructor for class org.fest.util.Flushables
- flushAndClose(OutputStream) - Static method in class org.fest.util.Files
-
Flushes and closes the given
.OutputStream
- flushAndClose(Writer) - Static method in class org.fest.util.Files
-
Flushes and closes the given
.Writer
- flushFlushable(Flushable) - Static method in class org.fest.util.Flushables
- format(boolean[]) - Method in class org.fest.util.ArrayFormatter
- format(byte[]) - Method in class org.fest.util.ArrayFormatter
- format(char[]) - Method in class org.fest.util.ArrayFormatter
- format(double[]) - Method in class org.fest.util.ArrayFormatter
- format(float[]) - Method in class org.fest.util.ArrayFormatter
- format(int[]) - Method in class org.fest.util.ArrayFormatter
- format(long[]) - Method in class org.fest.util.ArrayFormatter
- format(short[]) - Method in class org.fest.util.ArrayFormatter
- format(Object) - Method in class org.fest.util.ArrayFormatter
- format(Object) - Static method in class org.fest.util.Arrays
-
Returns the
String
representation of the given array, ornull
if the given object is eithernull
or not an array. - format(Collection<?>) - Static method in class org.fest.util.Collections
-
Returns the
String
representation of the given collection, ornull
if the given collection isnull
. - format(Map<?, ?>) - Static method in class org.fest.util.Maps
-
Returns the
String
representation of the given map, ornull
if the given map isnull
. - format(Map<?, ?>, Object) - Static method in class org.fest.util.Maps
- formatObjectArray(Object) - Method in class org.fest.util.ArrayFormatter
- formatPrimitiveArray(Object) - Method in class org.fest.util.ArrayFormatter
- formatter - Static variable in class org.fest.util.Arrays
H
- hasElements(T[]) - Static method in class org.fest.util.Arrays
- HASH_CODE_PRIME - Static variable in class org.fest.util.Objects
-
Prime number used to calculate the hash code of objects.
- hashCodeFor(Object) - Static method in class org.fest.util.Objects
-
Returns the hash code for the given object.
- hasOnlyNullElements(Collection<?>) - Static method in class org.fest.util.Collections
-
Returns
true
if the given collection has onlynull
elements,false
otherwise. - hasOnlyNullElements(T[]) - Static method in class org.fest.util.Arrays
-
Returns
true
if the given array has onlynull
elements,false
otherwise.
I
- instance() - Static method in class org.fest.util.StackTraces
-
Returns the singleton instance of this class.
- INSTANCE - Static variable in class org.fest.util.StackTraces
-
Singleton instance.
- Introspection - Class in org.fest.util
-
Understands utility methods related to JavaBeans Introspection.
- Introspection() - Constructor for class org.fest.util.Introspection
- IntrospectionError - Exception in org.fest.util
-
Understands an error that occurred when using JavaBeans Instrospection.
- IntrospectionError(String) - Constructor for exception org.fest.util.IntrospectionError
-
Creates a new
IntrospectionError
. - IntrospectionError(String, Throwable) - Constructor for exception org.fest.util.IntrospectionError
-
Creates a new
IntrospectionError
. - isArray(Object) - Method in class org.fest.util.ArrayFormatter
- isEmpty(String) - Static method in class org.fest.util.Strings
-
Returns
true
if the givenString
isnull
or empty. - isEmpty(Collection<?>) - Static method in class org.fest.util.Collections
-
Returns
true
if the given collection isnull
or empty. - isEmpty(Map<?, ?>) - Static method in class org.fest.util.Maps
-
Returns
true
if the given map isnull
or empty. - isEmpty(T[]) - Static method in class org.fest.util.Arrays
-
Returns
true
if the given array isnull
or empty. - isObjectArray(Object) - Method in class org.fest.util.ArrayFormatter
J
- join(String...) - Static method in class org.fest.util.Strings
-
Joins the given
String
s using a given delimiter.
L
- LINE_SEPARATOR - Static variable in class org.fest.util.Systems
-
Returns the system-defined line separator.
- lineSeparator() - Static method in class org.fest.util.Systems
- list(T...) - Static method in class org.fest.util.Collections
-
Creates a list containing the given elements.
M
- Maps - Class in org.fest.util
-
Understands utility methods related to maps.
- Maps() - Constructor for class org.fest.util.Maps
N
- namesOf(Class<?>...) - Static method in class org.fest.util.Objects
-
Returns an array containing the names of the given types.
- newFile(String) - Static method in class org.fest.util.Files
-
Creates a new file using the given path.
- newFolder(String) - Static method in class org.fest.util.Files
-
Creates a new folder using the given path.
- newTemporaryFile() - Static method in class org.fest.util.Files
-
Creates a new file in the system's temporary folder.
- newTemporaryFolder() - Static method in class org.fest.util.Files
-
Creates a new folder in the system's temporary folder.
- nonNullElements(Collection<T>) - Static method in class org.fest.util.Collections
-
Returns a new unmodifiable collection containing the non-null elements of the given collection.
- nonNullElements(List<T>) - Static method in class org.fest.util.Collections
-
Returns a new unmodifiable list containing the non-null elements of the given list.
- nonNullElements(T[]) - Static method in class org.fest.util.Arrays
-
Returns a new array containing the non-null elements of the given array.
- NULL - Static variable in class org.fest.util.ArrayFormatter
O
- Objects - Class in org.fest.util
-
Understands utility methods related to objects.
- Objects() - Constructor for class org.fest.util.Objects
- org.fest.util - package org.fest.util
-
General-purpose utilities used by FEST modules.
Q
- quote(Object) - Static method in class org.fest.util.Strings
-
Returns the given object surrounded by single quotes, only if the object is a
String
. - quote(String) - Static method in class org.fest.util.Strings
-
Returns the given
String
surrounded by single quotes, ornull
if the givenString
isnull
.
S
- serialVersionUID - Static variable in exception org.fest.util.FilesException
- serialVersionUID - Static variable in exception org.fest.util.IntrospectionError
- stackTraceInCurrentThread() - Method in class org.fest.util.StackTraces
-
Returns the stack trace for the current thread.
- stackTraceInCurrentThread() - Static method in class org.fest.util.Throwables
- StackTraces - Class in org.fest.util
-
Understands utility methods related to stack traces.
- StackTraces() - Constructor for class org.fest.util.StackTraces
-
Creates a new
StackTraces
. - strings - Variable in class org.fest.util.Strings.StringsToJoin
-
The
String
s to join. - Strings - Class in org.fest.util
-
Understands utility methods related to
String
s. - Strings() - Constructor for class org.fest.util.Strings
- Strings.StringsToJoin - Class in org.fest.util
-
Understands how to join
String
s using a given delimiter. - Strings.StringToAppend - Class in org.fest.util
-
Understands how to append a given
String
to the given target, only if the target does not end with the givenString
to append. - StringsToJoin(String...) - Constructor for class org.fest.util.Strings.StringsToJoin
-
Creates a new
.Strings.StringsToJoin
- StringToAppend(String) - Constructor for class org.fest.util.Strings.StringToAppend
-
Creates a new
.Strings.StringToAppend
- Systems - Class in org.fest.util
-
Understands system-related utilities.
- Systems() - Constructor for class org.fest.util.Systems
T
- temporaryFolder() - Static method in class org.fest.util.Files
-
Returns the system's temporary folder.
- temporaryFolderPath() - Static method in class org.fest.util.Files
-
Returns the path of the system's temporary folder.
- Throwables - Class in org.fest.util
-
Understands utility methods related to
s.Throwable
- Throwables() - Constructor for class org.fest.util.Throwables
- to(String) - Method in class org.fest.util.Strings.StringToAppend
-
Appends the
String
specified in the constructor to theString
passed as argument. - toAppend - Variable in class org.fest.util.Strings.StringToAppend
-
The
String
to append. - type - Variable in class org.fest.util.TypeFilter
- TypeFilter<T> - Class in org.fest.util
-
Understands filtering elements of a collection by their data type.
- TypeFilter(Class<T>) - Constructor for class org.fest.util.TypeFilter
V
- validate(String, Object) - Static method in class org.fest.util.Introspection
- VisibleForTesting - Annotation Interface in org.fest.util
-
Understands an annotation that indicates that the visibility of a type or member has been relaxed to make the code testable.
W
- with(String) - Method in class org.fest.util.Strings.StringsToJoin
-
Specifies the delimeter to use to join
String
s.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form