A B C D F G H I J L M N O P Q R S T V W Y 
All Classes All Packages

A

actualIsEmpty() - Static method in class org.fest.util.FailureMessages
 
actualIsNull() - Static method in class org.fest.util.FailureMessages
 
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 given String to append.
appendStackTraceInCurentThreadToThrowable(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 are null.
array(T...) - Static method in class org.fest.util.Arrays
Returns an array containing the given arguments.
Arrays - Class in org.fest.util
Utility methods related to arrays.

B

byType(Class<T>) - Static method in class org.fest.util.TypeFilter
Creates a new TypeFilter.

C

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.
checkNotNull(T) - Static method in class org.fest.util.Preconditions
Verifies that the given object reference is not null.
checkNotNullOrEmpty(String) - Static method in class org.fest.util.Preconditions
Verifies that the given String is not null or empty.
Closeables - Class in org.fest.util
Utility methods related to Closeable.
closeQuietly(Closeable...) - Static method in class org.fest.util.Closeables
Closes the given Closeables, ignoring any thrown exceptions.
CollectionFilter<T> - Interface in org.fest.util
Filters elements in a collection.
Collections - Class in org.fest.util
Utility methods related to Collections.
collectionTypes() - Static method in class org.fest.util.Types
 
concat(Object...) - Static method in class org.fest.util.Strings
Concatenates the given objects into a single String.
contentOf(File, String) - Static method in class org.fest.util.Files
Loads the text content of a file into a character string.
contentOf(File, Charset) - Static method in class org.fest.util.Files
Loads the text content of a file into a character string.
currentFolder() - Static method in class org.fest.util.Files
Returns the current directory.

D

Dates - Class in org.fest.util
Utility methods related to dates.
Dates() - Constructor for class org.fest.util.Dates
 
dayOfMonthOf(Date) - Static method in class org.fest.util.Dates
Dates Extracts the day of month of the given Date.
dayOfWeekOf(Date) - Static method in class org.fest.util.Dates
Extracts the day of week of the given Date, returned value follows Calendar.DAY_OF_WEEK .
delete(File) - Static method in class org.fest.util.Files
Deletes the given file or directory.
duplicatesFrom(Collection<T>) - Static method in class org.fest.util.Collections
Returns any duplicate elements from the given Collection.

F

FailureMessages - Class in org.fest.util
 
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
Utility methods related to files.
FilesException - Exception in org.fest.util
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
 
filter(Collection<?>) - Method in class org.fest.util.TypeFilter
Filters the given collection by the type specified in this filter.
flush(Flushable...) - Static method in class org.fest.util.Flushables
Flushes the given Flushables, ignoring any thrown exceptions.
Flushables - Class in org.fest.util
Utility methods related to Flushable.
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.
format(Object) - Static method in class org.fest.util.Arrays
Returns the String representation of the given array, or null if the given object is either null or not an array.
format(Collection<?>) - Static method in class org.fest.util.Collections
Returns the String representation of the given Collection, or null if the given Collection is null.
format(Map<?, ?>) - Static method in class org.fest.util.Maps
Returns the String representation of the given map, or null if the given map is null.
formatAsDatetime(Calendar) - Static method in class org.fest.util.Dates
Formats the date of the given calendar using the ISO 8601 date-time format (yyyy-MM-dd'T'HH:mm:ss).
Method is thread safe.
formatAsDatetime(Date) - Static method in class org.fest.util.Dates
Formats the given date using the ISO 8601 date-time format (yyyy-MM-dd'T'HH:mm:ss).
Method in synchronized because SimpleDateFormat is not thread safe (sigh).
formatAsDatetimeWithMs(Date) - Static method in class org.fest.util.Dates
Formats the given date using the ISO 8601 date-time format with millisecond (yyyy-MM-dd'T'HH:mm:ss:SSS).
Method in synchronized because SimpleDateFormat is not thread safe (sigh).

G

getProperty(String, Object) - Static method in class org.fest.util.Introspection
Returns a PropertyDescriptor for a property matching the given name in the given object.

H

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(T[]) - Static method in class org.fest.util.Arrays
Returns true if the given array has only null elements, false otherwise.
hourOfDay(Date) - Static method in class org.fest.util.Dates
Extracts the hour of day if the given Date (24-hour clock).

I

instance() - Static method in class org.fest.util.TextFileWriter
 
Introspection - Class in org.fest.util
Utility methods related to JavaBeans Introspection.
IntrospectionError - Exception in org.fest.util
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) - Static method in class org.fest.util.Arrays
Indicates whether the given object is not null and is an array.
isEmpty(String) - Static method in class org.fest.util.Strings
Deprecated.
isNullOrEmpty(Iterable<?>) - Static method in class org.fest.util.Iterables
Indicates whether the given Iterable is null or empty.
isNullOrEmpty(String) - Static method in class org.fest.util.Strings
Indicates whether the given String is null or empty.
isNullOrEmpty(Collection<?>) - Static method in class org.fest.util.Collections
Indicates whether the given Collection is null or empty.
isNullOrEmpty(Map<?, ?>) - Static method in class org.fest.util.Maps
Indicates whether the given Map is null or empty.
isNullOrEmpty(T[]) - Static method in class org.fest.util.Arrays
Indicates whether the given array is null or empty.
ISO_DATE_FORMAT - Static variable in class org.fest.util.Dates
ISO 8601 date format (yyyy-MM-dd), example : 2003-04-23
ISO_DATE_TIME_FORMAT - Static variable in class org.fest.util.Dates
ISO 8601 date-time format (yyyy-MM-dd'T'HH:mm:ss), example : 2003-04-26T13:01:02
ISO_DATE_TIME_FORMAT_WITH_MS - Static variable in class org.fest.util.Dates
ISO 8601 date-time format with millisecond (yyyy-MM-dd'T'HH:mm:ss.SSS), example : 2003-04-26T03:01:02.999
Iterables - Class in org.fest.util
Utility methods related to Iterables.

J

join(String...) - Static method in class org.fest.util.Strings
Joins the given Strings using a given delimiter.

L

LINE_SEPARATOR - Static variable in class org.fest.util.SystemProperties
 
Lists - Class in org.fest.util
Utility methods related to java.util.Lists.

M

Maps - Class in org.fest.util
Utility methods related to maps.
millisecondOf(Date) - Static method in class org.fest.util.Dates
Extracts the millisecond of the given Date.
minuteOf(Date) - Static method in class org.fest.util.Dates
Dates Extracts the minute of the given Date.
monthOf(Date) - Static method in class org.fest.util.Dates
Dates Extracts the month of the given Date starting at 1 (January=1, February=2, ...).

N

namesOf(Class<?>...) - Static method in class org.fest.util.Objects
Returns an array containing the names of the given types.
newArrayList(Iterable<? extends T>) - Static method in class org.fest.util.Lists
Creates a mutable ArrayList containing the given elements.
newArrayList(T...) - Static method in class org.fest.util.Lists
Creates a mutable ArrayList containing the given elements.
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 directory using the given path.
newLinkedHashSet(T...) - Static method in class org.fest.util.Sets
Creates a mutable LinkedHashSet containing the given elements.
newTemporaryFile() - Static method in class org.fest.util.Files
Creates a new file in the system's temporary directory.
newTemporaryFolder() - Static method in class org.fest.util.Files
Creates a new directory in the system's temporary directory.
nonNullElementsIn(Iterable<T>) - Static method in class org.fest.util.Iterables
Returns all the non-null elements in the given Iterable.
nonNullElementsIn(Collection<T>) - Static method in class org.fest.util.Collections
Returns all the non-null elements in the given Collection.
nonNullElementsIn(T[]) - Static method in class org.fest.util.Arrays
Returns all the non-null elements in the given array.

O

Objects - Class in org.fest.util
Utility methods related to objects.
org.fest.util - package org.fest.util
General-purpose utilities used by FEST modules.

P

parse(String) - Static method in class org.fest.util.Dates
Utility method to parse a Date following Dates.ISO_DATE_FORMAT, returns null if the given String is null.
parseDatetime(String) - Static method in class org.fest.util.Dates
Utility method to parse a Date following Dates.ISO_DATE_TIME_FORMAT, returns null if the given String is null.
Preconditions - Class in org.fest.util
Verifies correct argument values and state.
primitiveTypes() - Static method in class org.fest.util.Types
 

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, or null if the given String is null.

R

removeFestRelatedElementsFromStackTrace(Throwable) - Static method in class org.fest.util.Throwables
Removes the FEST-related elements from the Throwable stack trace that have little value for end user.

S

secondOf(Date) - Static method in class org.fest.util.Dates
Extracts the second of the given Date.
Sets - Class in org.fest.util
Utility methods related to Sets.
sizeOf(Iterable<?>) - Static method in class org.fest.util.Iterables
Returns the size of the given Iterable.
Strings - Class in org.fest.util
Utility methods related to Strings.
Strings.StringsToJoin - Class in org.fest.util
Knows how to join Strings using a given delimiter.
Strings.StringToAppend - Class in org.fest.util
Knows how to append a given String to the given target, only if the target does not end with the given String to append.
SystemProperties - Class in org.fest.util
System properties.

T

temporaryFolder() - Static method in class org.fest.util.Files
Returns the system's temporary directory.
temporaryFolderPath() - Static method in class org.fest.util.Files
Returns the path of the system's temporary directory.
TextFileWriter - Class in org.fest.util
 
Throwables - Class in org.fest.util
Utility methods related to Throwables.
to(String) - Method in class org.fest.util.Strings.StringToAppend
Appends the String specified in the constructor to the String passed as argument.
toCalendar(Date) - Static method in class org.fest.util.Dates
Converts the given Date to Calendar, returns null if the given Date is null.
today() - Static method in class org.fest.util.Dates
 
tomorrow() - Static method in class org.fest.util.Dates
 
ToString - Class in org.fest.util
Obtains the toString representation of an object.
toStringOf(Object) - Static method in class org.fest.util.ToString
Returns the toString representation of the given object.
truncateTime(Date) - Static method in class org.fest.util.Dates
Returns a copy of the given date without the time part (which is set to 00:00:00), for example :
truncateTime(2008-12-29T23:45:12) will give 2008-12-29T00:00:00.
TypeFilter<T> - Class in org.fest.util
Filters elements of a collection by their data type.
Types - Class in org.fest.util
Utilities related to Java data types.

V

VisibleForTesting - Annotation Type in org.fest.util
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 Strings.
write(File, String...) - Method in class org.fest.util.TextFileWriter
 
write(File, Charset, String...) - Method in class org.fest.util.TextFileWriter
 

Y

yearOf(Date) - Static method in class org.fest.util.Dates
Extracts the year of the given Date.
yesterday() - Static method in class org.fest.util.Dates
 
A B C D F G H I J L M N O P Q R S T V W Y 
All Classes All Packages