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

A

assertArrayNotEmpty(String[]) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that none of the string in an array is empty
assertArrayNotNull(Object[]) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that none of the objects in an array is null
assertClassOrInterface(Object, Class<?>) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that an object class/superclass/interface/superinterface
assertCollectionNotNull(Collection<?>) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that none of the objects in a Collection is null
assertEquals(N, N) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that a value is equals to an expected value
assertGreater(N, N) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that a value is greater than to a bound
assertGreaterOrEquals(N, N) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that a value is greater than or equals to a bound
assertIn(O, Collection<O>) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that an object is contains in a values array
assertIn(O, O...) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that an object is contains in a values array
assertLower(N, N) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that a value is lower than to a bound
assertLowerOrEquals(N, N) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that a value is lower than or equals to a bound
assertNotEmpty(Collection<?>) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that an array is not null or empty
assertNotEmpty(Object[]) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that a collection is not null or empty
assertNotEmpty(String) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that a string is not null or empty
assertNotEquals(N, N) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that a value is not equals to an unexpected value
assertNotNegative(N) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that a value is not negative
assertNotNull(Object) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that an object is not null
assertPositive(N) - Static method in class nc.ird.cantharella.utils.AssertTools
Assert that a value is positive
AssertTools - Class in nc.ird.cantharella.utils
Assertion tools.

B

beanListToString(List<? extends Object>, BeanTools.AccessType, String...) - Static method in class nc.ird.cantharella.utils.BeanTools
Display a list of beans by listing the specified properties (bean separated by "\n", properties by ", ")
beanListToString(List<? extends Object>, String, String, BeanTools.AccessType, String...) - Static method in class nc.ird.cantharella.utils.BeanTools
Display a list of beans by listing the specified properties
BeanTools - Class in nc.ird.cantharella.utils
Tools for beans
BeanTools.AccessType - Enum in nc.ird.cantharella.utils
Access type
bigDecimalToString(BigDecimal, Locale, int, int, int) - Static method in class nc.ird.cantharella.utils.NumberTools
Give the string representation of a big decimal

C

CantharellaConfig - Class in nc.ird.cantharella.utils
Used as factory in spring configuration to get configuration file as properties this class use internaly ApplicationConfig.
CantharellaConfig() - Constructor for class nc.ird.cantharella.utils.CantharellaConfig
 
capitalize() - Method in class nc.ird.cantharella.utils.StringTransformer
Capitalize
capitalizeFully() - Method in class nc.ird.cantharella.utils.StringTransformer
Capitalize fully
CAPTCHA_LENGTH_MAX - Static variable in class nc.ird.cantharella.utils.CaptchaTools
Captcha max length
CAPTCHA_LENGTH_MIN - Static variable in class nc.ird.cantharella.utils.CaptchaTools
Captcha min length
CaptchaTools - Class in nc.ird.cantharella.utils
Tools for captchas
cast(I) - Static method in class nc.ird.cantharella.utils.GenericsTools
Object cast
CHARSET_ISO_8859_1 - Static variable in class nc.ird.cantharella.utils.GenerateCsv
static varable for ISO_8859_1 encoding
CHARSET_UTF_8 - Static variable in class nc.ird.cantharella.utils.GenerateCsv
static varable for UTF-8 encoding
CollectionTools - Class in nc.ird.cantharella.utils
Tools for collections
compare(T, T) - Method in class nc.ird.cantharella.utils.IntuitiveStringComparator
containsOnlySameValue(Collection<T>, T) - Static method in class nc.ird.cantharella.utils.CollectionTools
Test if all collection's values contain always the same value
containsWithValue(Collection<? extends Object>, String, BeanTools.AccessType, Object) - Static method in class nc.ird.cantharella.utils.CollectionTools
Check in a collection of beans if a property has a specific value
CoordTools - Class in nc.ird.cantharella.utils
Tools for coordonates
countWithValue(Collection<? extends Object>, String, BeanTools.AccessType, Object) - Static method in class nc.ird.cantharella.utils.CollectionTools
Count in a collection of beans the number of beans which have a specific value
couplesToString(Map<O1, O2>, String, String) - Static method in class nc.ird.cantharella.utils.StringTools
Create a string representing a list of couples (key + value)
createPropertyComparator(String) - Static method in class nc.ird.cantharella.utils.BeanTools
Wrapping of Apache communs BeanComparator.
createPropertyComparator(String, Comparator<T>) - Static method in class nc.ird.cantharella.utils.BeanTools
Wrapping of Apache communs BeanComparator to avoid "unchecked" tag in code.
createStringComparator() - Static method in class nc.ird.cantharella.utils.StringTools
Create a comparator according to the toString method

D

DEGREES - Static variable in class nc.ird.cantharella.utils.CoordTools
Degrees character
doubleToString(Double, Locale, int, int) - Static method in class nc.ird.cantharella.utils.NumberTools
Give the string representation of a double

E

equals(Object, Object, BeanTools.AccessType, String...) - Static method in class nc.ird.cantharella.utils.BeanTools
Equals method
equals(Object, Object, Field...) - Static method in class nc.ird.cantharella.utils.BeanTools
Equals method
equals(Object) - Method in class nc.ird.cantharella.utils.Pair
 

F

findWithValue(List<T>, String, BeanTools.AccessType, Object) - Static method in class nc.ird.cantharella.utils.CollectionTools
Get from a beans collection the first bean which have a property with a specific value.

G

GenerateCsv - Class in nc.ird.cantharella.utils
Classe permettant de générer un fichier csv
GenerateCsv() - Constructor for class nc.ird.cantharella.utils.GenerateCsv
Constructeur par défaut
GenerateCsv(String) - Constructor for class nc.ird.cantharella.utils.GenerateCsv
Constructeur
GenerateCsv(char, String) - Constructor for class nc.ird.cantharella.utils.GenerateCsv
Constructeur
GenericsTools - Class in nc.ird.cantharella.utils
Tools for generics classes
getAnnotatedPrivateField(Class<?>, Class<? extends Annotation>...) - Static method in class nc.ird.cantharella.utils.BeanTools
Retrieve an annotated from private field or from inherited private, protected or public field
getAnnotatedPublicField(Object, Class<? extends Annotation>...) - Static method in class nc.ird.cantharella.utils.BeanTools
Retrieve an annotated public field or from inherited public field too
getAnnotatedPublicField(Class<?>, Class<? extends Annotation>...) - Static method in class nc.ird.cantharella.utils.BeanTools
Retrieve an annotated public field
getAnnotationOnProperty(Class<?>, Class<A>, String) - Static method in class nc.ird.cantharella.utils.BeanTools
Get an annotation on a bean property
getColumnsSeparator() - Method in class nc.ird.cantharella.utils.GenerateCsv
columnsSeparator getter
getCopyright() - Method in class nc.ird.cantharella.utils.GenerateCsv
copyright getter
getEncoding() - Method in class nc.ird.cantharella.utils.GenerateCsv
encoding getter
getKey() - Method in class nc.ird.cantharella.utils.Pair
getProperties() - Static method in class nc.ird.cantharella.utils.CantharellaConfig
force filename to cantharella.config
getProperties(String) - Static method in class nc.ird.cantharella.utils.CantharellaConfig
This method take file name in argument, this permit to force filename for example for unit tests
getValue(Object, BeanTools.AccessType, String) - Static method in class nc.ird.cantharella.utils.BeanTools
Get a property value for a specified bean
getValue() - Method in class nc.ird.cantharella.utils.Pair
getValueFromPath(Object, BeanTools.AccessType, String) - Static method in class nc.ird.cantharella.utils.BeanTools
Get a property value for a specified bean

H

hashCode(Object, Field...) - Static method in class nc.ird.cantharella.utils.BeanTools
HashCode method
hashCode(Object, Object...) - Static method in class nc.ird.cantharella.utils.BeanTools
HashCode method
hashCode() - Method in class nc.ird.cantharella.utils.Pair
 

I

intersect(Set<T>, Set<T>) - Static method in class nc.ird.cantharella.utils.CollectionTools
Intersection of two sets
IntuitiveStringComparator<T extends CharSequence> - Class in nc.ird.cantharella.utils
A comparator that emulates the "intuitive" sorting used by Windows Explorer.
IntuitiveStringComparator() - Constructor for class nc.ird.cantharella.utils.IntuitiveStringComparator
 
isAnnotationOnProperty(Class<?>, Class<A>, String) - Static method in class nc.ird.cantharella.utils.BeanTools
Is there an annotation on a bean property

L

latitude(Integer, BigDecimal, Character) - Static method in class nc.ird.cantharella.utils.CoordTools
Format a latitude (dd.mm.sss"o)
LATITUDE_LENGTH - Static variable in class nc.ird.cantharella.utils.CoordTools
Latitude length
LATITUDE_MAX_DEGREES - Static variable in class nc.ird.cantharella.utils.CoordTools
Latitude max degrees
LATITUDE_MAX_MINUTES - Static variable in class nc.ird.cantharella.utils.CoordTools
Latitude max minutes
LATITUDE_MAX_MINUTES_STRING - Static variable in class nc.ird.cantharella.utils.CoordTools
Latitude max minutes
LATITUDE_MIN_DEGREES - Static variable in class nc.ird.cantharella.utils.CoordTools
Latitude min degrees
LATITUDE_MIN_MINUTES - Static variable in class nc.ird.cantharella.utils.CoordTools
Latitude min minutes
LATITUDE_MIN_MINUTES_STRING - Static variable in class nc.ird.cantharella.utils.CoordTools
Latitude min minutes
LATITUDE_ORIENTATIONS - Static variable in class nc.ird.cantharella.utils.CoordTools
Latitude orientations
latitudeDegrees(String) - Static method in class nc.ird.cantharella.utils.CoordTools
Retrieve the degrees from a complete latitude
latitudeMinutes(String) - Static method in class nc.ird.cantharella.utils.CoordTools
Retrieve the minutes from a complete latitude
latitudeOrientation(String) - Static method in class nc.ird.cantharella.utils.CoordTools
Retrieve the orientation from a complete latitude
length(String) - Static method in class nc.ird.cantharella.utils.StringTools
Null-safe string length
lineIterator(String) - Static method in class nc.ird.cantharella.utils.StringTools
Create a line iterator, without null or empty lines
lineIterator(StringBuilder) - Static method in class nc.ird.cantharella.utils.StringTools
Create a line iterator, without null or empty lines
listToString(List<? extends Object>, String) - Static method in class nc.ird.cantharella.utils.StringTools
Display a list of objects
longitude(Integer, BigDecimal, Character) - Static method in class nc.ird.cantharella.utils.CoordTools
Format a longitude (ddd.mm'ss"o)
LONGITUDE_LENGTH - Static variable in class nc.ird.cantharella.utils.CoordTools
Longitude length
LONGITUDE_MAX_DEGREES - Static variable in class nc.ird.cantharella.utils.CoordTools
Longitude max degrees
LONGITUDE_MAX_MINUTES - Static variable in class nc.ird.cantharella.utils.CoordTools
Longitude max minutes
LONGITUDE_MAX_MINUTES_STRING - Static variable in class nc.ird.cantharella.utils.CoordTools
Longitude max minutes
LONGITUDE_MIN_DEGREES - Static variable in class nc.ird.cantharella.utils.CoordTools
Longitude min degrees
LONGITUDE_MIN_MINUTES - Static variable in class nc.ird.cantharella.utils.CoordTools
Longitude min minutes
LONGITUDE_MIN_MINUTES_STRING - Static variable in class nc.ird.cantharella.utils.CoordTools
Longitude min minutes
LONGITUDE_ORIENTATIONS - Static variable in class nc.ird.cantharella.utils.CoordTools
Longitude orientations
longitudeDegrees(String) - Static method in class nc.ird.cantharella.utils.CoordTools
Retrieve the degrees from a complete longitude
longitudeMinutes(String) - Static method in class nc.ird.cantharella.utils.CoordTools
Retrieve the minutes from a complete longitude
longitudeOrientation(String) - Static method in class nc.ird.cantharella.utils.CoordTools
Retrieve the orientation from a complete longitude

M

md5(String) - Static method in class nc.ird.cantharella.utils.PasswordTools
Hash a password with the MD5 algorithm
MD5_LENGTH - Static variable in class nc.ird.cantharella.utils.PasswordTools
Password MD5 length
MINUTES - Static variable in class nc.ird.cantharella.utils.CoordTools
Minutes character
MINUTES_SEPARATOR - Static variable in class nc.ird.cantharella.utils.CoordTools
Minutes separator

N

nc.ird.cantharella.utils - package nc.ird.cantharella.utils
 
nullIfZero(N) - Static method in class nc.ird.cantharella.utils.NumberTools
Returns null if the value if zero
NumberTools - Class in nc.ird.cantharella.utils
Tools for numbers

P

Pair<K,V> - Class in nc.ird.cantharella.utils
Pair of objects
Pair() - Constructor for class nc.ird.cantharella.utils.Pair
Constructor
Pair(K, V) - Constructor for class nc.ird.cantharella.utils.Pair
Constructor
parseBigDecimal(String, Locale, int, int) - Static method in class nc.ird.cantharella.utils.NumberTools
Parse a big decimal from a String.
parseDouble(String, Locale, int) - Static method in class nc.ird.cantharella.utils.NumberTools
Parse a double from a String.
PASSWORD_LENGTH_MAX - Static variable in class nc.ird.cantharella.utils.PasswordTools
Password max length
PASSWORD_LENGTH_MIN - Static variable in class nc.ird.cantharella.utils.PasswordTools
Password min length
PasswordTools - Class in nc.ird.cantharella.utils
Tools for passwords

R

random() - Static method in class nc.ird.cantharella.utils.CaptchaTools
Generate a random numeric catpcha
random() - Static method in class nc.ird.cantharella.utils.PasswordTools
Generate a random password
removeAllWithValue(Collection<? extends Object>, String, BeanTools.AccessType, Collection<? extends Object>) - Static method in class nc.ird.cantharella.utils.CollectionTools
Remove in a collection of beans the beans which have a specifics values.
removeWithValue(Collection<? extends Object>, String, BeanTools.AccessType, Object) - Static method in class nc.ird.cantharella.utils.CollectionTools
Remove in a collection of beans the beans which have a specific value.
replaceAccents(String) - Static method in class nc.ird.cantharella.utils.StringTools
Replace accented characters by their corresponding non-accented characters
replaceAccents() - Method in class nc.ird.cantharella.utils.StringTransformer
Replace accents
replaceConsecutiveWhitespaces(String) - Static method in class nc.ird.cantharella.utils.StringTools
Replace consecutive whitespaces by a single whitespace
replaceConsecutiveWhitespaces() - Method in class nc.ird.cantharella.utils.StringTransformer
Replace consecutive whitespaces
replaceConsecutiveWhitespacesByUnderscore(String) - Static method in class nc.ird.cantharella.utils.StringTools
Replace consecutive whitespaces by an underscore
replaceConsecutiveWhitespacesByUnderscore() - Method in class nc.ird.cantharella.utils.StringTransformer
Replace consecutive whitespaces by an underscore
replaceNonAlpha(String) - Static method in class nc.ird.cantharella.utils.StringTools
Replace non alpha characters by a whitespace (accentuated characters are considered as non alpha characters)
replaceNonAlpha() - Method in class nc.ird.cantharella.utils.StringTransformer
Replace non alpha

S

setColumnsSeparator(char) - Method in class nc.ird.cantharella.utils.GenerateCsv
columnsSeparator setter
setCopyright(String) - Method in class nc.ird.cantharella.utils.GenerateCsv
copyright setter
setEncoding(String) - Method in class nc.ird.cantharella.utils.GenerateCsv
encoding setter
setKey(K) - Method in class nc.ird.cantharella.utils.Pair
key setter
setter(Collection<T>, Collection<T>) - Static method in class nc.ird.cantharella.utils.CollectionTools
Setter for collections, preserving the instance
setValue(V) - Method in class nc.ird.cantharella.utils.Pair
sha1(String) - Static method in class nc.ird.cantharella.utils.PasswordTools
Hash a password with the SHA-1 algorithm
SHA1_LENGTH - Static variable in class nc.ird.cantharella.utils.PasswordTools
Password SHA1 length
StringTools - Class in nc.ird.cantharella.utils
Tools for strings
StringTransformer - Class in nc.ird.cantharella.utils
String transformer, chained, null-safe
StringTransformer(String) - Constructor for class nc.ird.cantharella.utils.StringTransformer
Constructor

T

toLowerCase() - Method in class nc.ird.cantharella.utils.StringTransformer
To lower case
toString(Object, String, BeanTools.AccessType, String...) - Static method in class nc.ird.cantharella.utils.BeanTools
Display a bean by listing the specified properties
toString(Object, BeanTools.AccessType, String...) - Static method in class nc.ird.cantharella.utils.BeanTools
Display a bean by listing the specified properties (separated by "\n")
toString() - Method in class nc.ird.cantharella.utils.StringTransformer
toUpperCase() - Method in class nc.ird.cantharella.utils.StringTransformer
To upper case
trim() - Method in class nc.ird.cantharella.utils.StringTransformer
Trim
trimToNull() - Method in class nc.ird.cantharella.utils.StringTransformer
Trim to null
truncate(String, String) - Static method in class nc.ird.cantharella.utils.StringTools
Truncate a string by the end
truncate(StringBuilder, String) - Static method in class nc.ird.cantharella.utils.StringTools
Truncate a string by the end

V

validateLatitude(String) - Static method in class nc.ird.cantharella.utils.CoordTools
Validate a latitude (ddd.mm.sss"o)
validateLongitude(String) - Static method in class nc.ird.cantharella.utils.CoordTools
Validate a longitude (dd.mm.sss"o)
valueOf(String) - Static method in enum nc.ird.cantharella.utils.BeanTools.AccessType
Returns the enum constant of this type with the specified name.
values() - Static method in enum nc.ird.cantharella.utils.BeanTools.AccessType
Returns an array containing the constants of this enum type, in the order they are declared.
valuesFromList(Collection<? extends Object>, String, BeanTools.AccessType) - Static method in class nc.ird.cantharella.utils.CollectionTools
Build a list from values properties of a bean list.

W

writeCSV(List<String[]>, boolean) - Method in class nc.ird.cantharella.utils.GenerateCsv
Rend un flux qui décrit un ensemble de données en respectant le format CSV
A B C D E F G H I L M N P R S T V W 

Copyright © 2009-2013 IRD. All Rights Reserved.