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

A

AbstractCacheImpl<T> - Class in org.clazzes.util.lifecycle.impl
Abstract base class for Cache interface.
AbstractCacheImpl() - Constructor for class org.clazzes.util.lifecycle.impl.AbstractCacheImpl
 
AbstractObjectFactoryImpl<T> - Class in org.clazzes.util.lifecycle.impl
Abstract base class for ObjectFactory.
AbstractObjectFactoryImpl() - Constructor for class org.clazzes.util.lifecycle.impl.AbstractObjectFactoryImpl
 
AbstractRecyclerImpl<T> - Class in org.clazzes.util.lifecycle.impl
Abstract base class of type Recycler using lists of WeakReferencees to cache recycled objects.
AbstractRecyclerImpl() - Constructor for class org.clazzes.util.lifecycle.impl.AbstractRecyclerImpl
 
add(int, int) - Method in class org.clazzes.util.datetime.UtcTimestamp
This method duplicates the funtionality of Calendar.add() in order to make the transition from Calendar database objects to UtcTimestamp object as easy as possible.
add(TimeZone, int, int) - Method in class org.clazzes.util.datetime.UtcTimestamp
This method duplicates the funtionality of Calendar.add() considering any change of the timezone offset of the given timezone.
addDays(long) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
addHours(long) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
addMilliSeconds(long) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
addMinutes(long) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
addMonths(int) - Method in class org.clazzes.util.datetime.UtcTimestamp
Add m month to the given timestamp.
addSeconds(long) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
addShareable(Cacheable<T>) - Method in interface org.clazzes.util.lifecycle.Cache
Adds a Cacheable object to the Cache.
addShareable(Cacheable<T>) - Method in class org.clazzes.util.lifecycle.impl.AbstractCacheImpl
 
addXSDResource(String, String) - Method in class org.clazzes.util.xml.ClasspathLSResourceResolver
Add a classpath-resident schema description to this resource resolver.
addYears(int) - Method in class org.clazzes.util.datetime.UtcTimestamp
Add m month to the given timestamp.
after(GlobalDate) - Method in class org.clazzes.util.datetime.GlobalDate
 
after(UtcTimestamp) - Method in class org.clazzes.util.datetime.UtcTimestamp
Test if this timestamp is after the passed second timestamp.
algo_prefix - Variable in class org.clazzes.util.sec.PlainPasswordHasher
 
ArrayCloner<T> - Class in org.clazzes.util.reflect.impl
A cloner for arrays.
ArrayCloner(Class<T>) - Constructor for class org.clazzes.util.reflect.impl.ArrayCloner
 
asBCD16(int) - Static method in class org.clazzes.util.lang.Util
Computes an byte[2] containing the BCD representation of the given int
asHex(byte[]) - Static method in class org.clazzes.util.lang.Util
Turns array of bytes into string.
asHex(byte[], String) - Static method in class org.clazzes.util.lang.Util
Turns array of bytes into string.

B

before(GlobalDate) - Method in class org.clazzes.util.datetime.GlobalDate
 
before(UtcTimestamp) - Method in class org.clazzes.util.datetime.UtcTimestamp
Test if this timestamp is before the passed second timestamp.
byteToU8(byte) - Static method in class org.clazzes.util.lang.Util
Converts a (pseudo-signed) byte to an unsigned 8 bit value.

C

Cache<T> - Interface in org.clazzes.util.lifecycle
Interface providing a common denominator for Cache implementations.
cache - Variable in class org.clazzes.util.lifecycle.impl.AbstractCacheImpl
 
Cacheable<T> - Interface in org.clazzes.util.lifecycle
Interface to manage the life cycle of objects in combination with a Cache.
CalendarHelper - Class in org.clazzes.util.datetime
Static helper functions for calendar objects, which overcome the most painful omissions in the Calendar API.
CalendarHelper() - Constructor for class org.clazzes.util.datetime.CalendarHelper
 
characters(char[], int, int) - Method in class org.clazzes.util.xml.SimpleContentHandler
 
CHARSET_ASCII - Static variable in class org.clazzes.util.lang.Util
 
CHARSET_ISO88591 - Static variable in class org.clazzes.util.lang.Util
 
CHARSET_UTF8 - Static variable in class org.clazzes.util.lang.Util
 
checkMandatory() - Method in interface org.clazzes.util.reflect.FieldAccessor
Parse all relevant Annotations and try to retrieve a Column -Annotation and test it's nullable() value.
checkMandatory() - Method in class org.clazzes.util.reflect.POJOFieldAccessor
 
checkPassword(String, String) - Method in class org.clazzes.util.sec.CryptPasswordHasher
 
checkPassword(String, String) - Method in interface org.clazzes.util.sec.PasswordHasher
Checks if the given cleartext password conforms to the given hashed representation.
checkPassword(String, String) - Method in class org.clazzes.util.sec.PlainPasswordHasher
 
checkPassword(String, String) - Method in class org.clazzes.util.sec.SSHA1PasswordHasher
 
checkUpdatable() - Method in interface org.clazzes.util.reflect.FieldAccessor
Parse all relevant Annotations and try to retrieve a Column -Annotation and test it's updatable() value.
checkUpdatable() - Method in class org.clazzes.util.reflect.POJOFieldAccessor
 
ClasspathLSInput - Class in org.clazzes.util.xml
This implementation of LSInput represents an XML input source for classpath-resident schema or DTD descriptions, which are emitted by a handcrafted instance of LSResourceResolver.
ClasspathLSInput(String, String, String, String) - Constructor for class org.clazzes.util.xml.ClasspathLSInput
Construct a classpath-resident LSInput instance.
ClasspathLSInput(String, String, String, String, boolean) - Constructor for class org.clazzes.util.xml.ClasspathLSInput
Construct a classpath-resident LSInput instance.
ClasspathLSResourceResolver - Class in org.clazzes.util.xml
This class resolves classpath-resident schema descriptions.
ClasspathLSResourceResolver() - Constructor for class org.clazzes.util.xml.ClasspathLSResourceResolver
Construct a classpath resource resoulver.
clone() - Method in class org.clazzes.util.datetime.UtcTimestamp
 
clone(T) - Method in interface org.clazzes.util.reflect.Cloner
 
clone(T) - Method in class org.clazzes.util.reflect.impl.ArrayCloner
 
clone(T) - Method in class org.clazzes.util.reflect.impl.CloneableCloner
 
clone(T) - Method in class org.clazzes.util.reflect.impl.POJOCloner
 
CloneableCloner<T> - Class in org.clazzes.util.reflect.impl
A cloner for
CloneableCloner(Class<T>) - Constructor for class org.clazzes.util.reflect.impl.CloneableCloner
 
cloneAdd(int, int) - Method in class org.clazzes.util.datetime.UtcTimestamp
Perform 'add' method to a clone of this.
cloneAddDays(int) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
cloneAddHours(int) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
cloneAddMillis(int) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
cloneAddMinutes(int) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
cloneAddMonths(int) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
cloneAddSeconds(int) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
cloneAddYears(int) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
Cloner<T> - Interface in org.clazzes.util.reflect
An interface, which clones a JAVA object.
ClonerFactory - Class in org.clazzes.util.reflect
A factory for cloners.
ClonerFactory() - Constructor for class org.clazzes.util.reflect.ClonerFactory
 
ClonerFactoryImpl - Class in org.clazzes.util.reflect.impl
The default cloner factory implementation.
ClonerFactoryImpl() - Constructor for class org.clazzes.util.reflect.impl.ClonerFactoryImpl
 
cloneToFirstDayOfWeek(Calendar, int) - Static method in class org.clazzes.util.datetime.CalendarHelper
This function returns a copy of the given calendar, which lies on the first day of the week.
cloneToFirstDayOfWeek(Calendar) - Static method in class org.clazzes.util.datetime.CalendarHelper
This function returns a copy of the given calendar, which lies on the first day of the week, where the first day of the week is determined by Calendar.getFirstDayOfWeek(), which reflects the locale-specific settings of the given calendar.
cloneToFirstDayOfWeek(int, TimeZone) - Method in class org.clazzes.util.datetime.UtcTimestamp
Return a deep copy of this timestamp, which is moved to the first day of the week.
closeTag(String, String, String) - Method in interface org.clazzes.util.xml.SAXTagHandler
This function is called, when the tag is closed.
ComparableComparator - Class in org.clazzes.util.comparators
This class is a comparator, which compares Comparable instances by forwarding the Comparable.compareTo(Object) method to the implemented #compareTo(Comparable) method.
ComparableComparator() - Constructor for class org.clazzes.util.comparators.ComparableComparator
 
ComparablePair<A extends java.lang.Comparable<A>,B extends java.lang.Comparable<B>> - Class in org.clazzes.util.lang
 
ComparablePair() - Constructor for class org.clazzes.util.lang.ComparablePair
 
ComparablePair(A, B) - Constructor for class org.clazzes.util.lang.ComparablePair
 
ComparablePair(Pair<A, B>) - Constructor for class org.clazzes.util.lang.ComparablePair
 
ComparableTriple<A extends java.lang.Comparable<A>,B extends java.lang.Comparable<B>,C extends java.lang.Comparable<C>> - Class in org.clazzes.util.lang
 
ComparableTriple() - Constructor for class org.clazzes.util.lang.ComparableTriple
 
ComparableTriple(A, B, C) - Constructor for class org.clazzes.util.lang.ComparableTriple
 
ComparableTriple(Triple<A, B, C>) - Constructor for class org.clazzes.util.lang.ComparableTriple
 
ComparatorFactory - Interface in org.clazzes.util.comparators
Implementations of this interface generate comparators for a given class.
compare(Object, Object) - Method in class org.clazzes.util.comparators.ComparableComparator
 
compare(Object, Object) - Method in class org.clazzes.util.comparators.POJOFieldComparator
 
compareTo(GlobalDate) - Method in class org.clazzes.util.datetime.GlobalDate
 
compareTo(UtcTimestamp) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
compareTo(ComparablePair<A, B>) - Method in class org.clazzes.util.lang.ComparablePair
 
compareTo(ComparableTriple<A, B, C>) - Method in class org.clazzes.util.lang.ComparableTriple
 
concat(byte[], byte[]) - Static method in class org.clazzes.util.lang.Util
Copy two Byte arrays into a single resulting Byte array.
copyStreams(InputStream, OutputStream) - Static method in class org.clazzes.util.io.IOUtil
Copy all the data from an INputStream to an OutputStream.
createNew(T) - Method in class org.clazzes.util.lifecycle.impl.AbstractObjectFactoryImpl
 
createNew(String) - Method in class org.clazzes.util.lifecycle.impl.ReflectionRecycler
 
createZeroTerminatedString(String) - Static method in class org.clazzes.util.lang.Util
Converts a String object to an byte[] containing the ASCII coded string and a 0 byte.
createZeroTerminatedString(String, String) - Static method in class org.clazzes.util.lang.Util
Converts a String object to an byte[] containing the string coded with the given charset and a 0 byte.
crypt(byte[], byte[]) - Static method in class org.clazzes.util.sec.Crypter
crypt function.
crypt(String, String) - Static method in class org.clazzes.util.sec.Crypter
crypt function.
crypt(byte[], String) - Static method in class org.clazzes.util.sec.Crypter
crypt function
Crypter - Class in org.clazzes.util.sec
The Crypter class provides crypt function and some useful random stuff.
Crypter() - Constructor for class org.clazzes.util.sec.Crypter
 
CryptPasswordHasher - Class in org.clazzes.util.sec
The Crypt hasher
CryptPasswordHasher() - Constructor for class org.clazzes.util.sec.CryptPasswordHasher
 

D

DATE_FORMAT - Static variable in class org.clazzes.util.datetime.ISO8601Format
Format Calendars using only date fields.
DATE_ONLY_COMPARATOR - Static variable in class org.clazzes.util.datetime.CalendarHelper
A comparator instance which compares calendar by their date information only.
DATETIME_FORMAT - Static variable in class org.clazzes.util.datetime.ISO8601Format
Format Calendars using date and time fields including the timezone designator.
DATETIME_FORMAT_NO_TZ - Static variable in class org.clazzes.util.datetime.ISO8601Format
Format Calendars using date and time fields skipping the timezone designator.
day - Variable in class org.clazzes.util.datetime.GlobalDate
 
daysBetween(Calendar, Calendar) - Static method in class org.clazzes.util.datetime.CalendarHelper
Calculate the number of days between the two given dates.
daysBetween(UtcTimestamp, UtcTimestamp) - Static method in class org.clazzes.util.datetime.UtcTimestamp
 
decodeBCD(byte[]) - Static method in class org.clazzes.util.lang.Util
Decodes a BCD coded integer
decodeHexstring(String) - Static method in class org.clazzes.util.lang.Util
Decodes a string contain hex digits to a byte[]
DEFAULT_SALTLENGTH - Static variable in class org.clazzes.util.sec.HashTools
The recommended default salt length.
DefaultComparatorFactory - Class in org.clazzes.util.comparators
This default implementation of ComparatorFactory simply returns a ComparableComparator for Comparables.
DefaultComparatorFactory() - Constructor for class org.clazzes.util.comparators.DefaultComparatorFactory
 

E

endDocument() - Method in class org.clazzes.util.xml.SimpleContentHandler
 
endElement(String, String, String) - Method in class org.clazzes.util.xml.SimpleContentHandler
 
endPrefixMapping(String) - Method in class org.clazzes.util.xml.SimpleContentHandler
 
equals(Object) - Method in class org.clazzes.util.datetime.GlobalDate
 
equals(Object) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
equals(Object) - Method in class org.clazzes.util.lang.Pair
 
equals(Object) - Method in class org.clazzes.util.lang.Triple
 
equals(byte[], byte[]) - Static method in class org.clazzes.util.lang.Util
Test if two Byte arrays are equal.
equalsNullAware(Object, Object) - Static method in class org.clazzes.util.lang.Util
Compares a and b and returns true, if both values are null or both are equal.

F

FieldAccessor - Interface in org.clazzes.util.reflect
This interface is implemented by all classes, that allow access to fileds of an object.
filledByteArray(int, byte) - Static method in class org.clazzes.util.lang.Util
Procudes an explicitely filled byte array with the given length.
fillUp(byte[], int, byte) - Static method in class org.clazzes.util.lang.Util
Fills up a Byte Array to a multiple of x Bytes. fillUp(byte[12], 16, 0x00) will produce a byte[16], the last 4 Bytes are 0x00.
format(Object, StringBuffer, FieldPosition) - Method in class org.clazzes.util.datetime.ISO8601Format
 

G

get(T) - Method in class org.clazzes.util.lifecycle.impl.AbstractCacheImpl
 
get(T) - Method in class org.clazzes.util.lifecycle.impl.AbstractObjectFactoryImpl
 
get(T) - Method in class org.clazzes.util.lifecycle.impl.AbstractRecyclerImpl
 
get(T) - Method in interface org.clazzes.util.lifecycle.ObjectFactory
Deliver an object for the passed key.
getAlgorithmName() - Method in class org.clazzes.util.sec.CryptPasswordHasher
 
getAlgorithmName() - Method in interface org.clazzes.util.sec.PasswordHasher
 
getAlgorithmName() - Method in class org.clazzes.util.sec.PlainPasswordHasher
 
getAlgorithmName() - Method in class org.clazzes.util.sec.SSHA1PasswordHasher
 
getAlgorithmPrefix() - Method in class org.clazzes.util.sec.PlainPasswordHasher
 
getAnnotation(Class<T>) - Method in interface org.clazzes.util.reflect.FieldAccessor
 
getAnnotation(Class<T>) - Method in class org.clazzes.util.reflect.POJOFieldAccessor
 
getAnnotations() - Method in interface org.clazzes.util.reflect.FieldAccessor
 
getAnnotations() - Method in class org.clazzes.util.reflect.POJOFieldAccessor
 
getBaseURI() - Method in class org.clazzes.util.xml.ClasspathLSInput
 
getBooleanGetterName(String) - Static method in class org.clazzes.util.reflect.PropertyHelper
This method complements the functionality of PropertyHelper.getGetterName(String) for boolen properties, where the getter method start with the string "is" instead of "get".
getBooleanPropertyFromGetterName(String) - Static method in class org.clazzes.util.reflect.PropertyHelper
Returns the property name of a given getter method name for boolean fields.
getByteStream() - Method in class org.clazzes.util.xml.ClasspathLSInput
 
getCalendar(int, int, int) - Static method in class org.clazzes.util.lang.Util
Get a Calendar-Object for the given date (starting at 00:00:00.000.
getCertifiedText() - Method in class org.clazzes.util.xml.ClasspathLSInput
 
getCharacterStream() - Method in class org.clazzes.util.xml.ClasspathLSInput
 
getCollator() - Method in class org.clazzes.util.comparators.LocalizedComparatorFactory
 
getComparator(Class) - Method in interface org.clazzes.util.comparators.ComparatorFactory
Get a comparator, which compares instances of the given class.
getComparator(Class) - Method in class org.clazzes.util.comparators.DefaultComparatorFactory
 
getComparator(Class) - Method in class org.clazzes.util.comparators.LocalizedComparatorFactory
 
getComparator(Class, String, boolean) - Method in class org.clazzes.util.comparators.POJOComparatorFactory
Construct a comparator for the given class by evaluating the specified chain of properties.
getCRC32(byte[]) - Static method in class org.clazzes.util.lang.Util
Calculate a standard CRC32 Checksum using java.util.zip.CRC32.
getDay() - Method in class org.clazzes.util.datetime.GlobalDate
 
getDay() - Method in class org.clazzes.util.datetime.UtcTimestamp
 
getDayOfWeek() - Method in class org.clazzes.util.datetime.UtcTimestamp
 
getDaysOfMonth(int, int) - Static method in class org.clazzes.util.datetime.UtcTimestamp
 
getDaysOfMonth() - Method in class org.clazzes.util.datetime.UtcTimestamp
 
getDeclaringClass() - Method in interface org.clazzes.util.reflect.FieldAccessor
 
getDeclaringClass() - Method in class org.clazzes.util.reflect.POJOFieldAccessor
 
getEncoding() - Method in class org.clazzes.util.xml.ClasspathLSInput
 
getExpression() - Method in exception org.clazzes.util.comparators.InvalidExpressionSyntaxException
 
getFieldAccessor() - Method in class org.clazzes.util.comparators.POJOFieldComparator
 
getFieldComparator() - Method in class org.clazzes.util.comparators.POJOFieldComparator
 
getFileBaseName(String) - Static method in class org.clazzes.util.io.IOUtil
 
getFileExtension(String) - Static method in class org.clazzes.util.io.IOUtil
 
getFirst() - Method in class org.clazzes.util.lang.Pair
 
getFirst() - Method in class org.clazzes.util.lang.Triple
 
getGetterName(String) - Static method in class org.clazzes.util.reflect.PropertyHelper
 
getHour() - Method in class org.clazzes.util.datetime.UtcTimestamp
 
getId() - Method in interface org.clazzes.util.lifecycle.Cacheable
 
getIdAccessor() - Method in interface org.clazzes.util.reflect.FieldAccessor
Get the accessor used to access the ID-Field of the same POJO this FieldAccessor belongs to.
getIdAccessor() - Method in class org.clazzes.util.reflect.POJOFieldAccessor
 
getInstance() - Static method in class org.clazzes.util.comparators.ComparableComparator
This is the preferred methos to acquire an instance of ComparableComparator.
getInstance() - Static method in class org.clazzes.util.comparators.DefaultComparatorFactory
 
getKnownPasswordHashers() - Method in class org.clazzes.util.sec.HasherFactory
 
getKnownPasswordHashers() - Method in interface org.clazzes.util.sec.PasswordHasherFactory
 
getLocalizedMessage() - Method in exception org.clazzes.util.comparators.InvalidExpressionSyntaxException
 
getMessage() - Method in exception org.clazzes.util.comparators.InvalidExpressionSyntaxException
 
getMilliSecond() - Method in class org.clazzes.util.datetime.UtcTimestamp
 
getMinute() - Method in class org.clazzes.util.datetime.UtcTimestamp
 
getMonth() - Method in class org.clazzes.util.datetime.GlobalDate
 
getMonth() - Method in class org.clazzes.util.datetime.UtcTimestamp
 
getName() - Method in interface org.clazzes.util.reflect.FieldAccessor
 
getName() - Method in class org.clazzes.util.reflect.POJOFieldAccessor
 
getOperatingSystem() - Static method in class org.clazzes.util.lang.Util
Returns which type of OS we have, after dedecting if necessary
getPackageClasses(Class) - Static method in class org.clazzes.util.reflect.PackageHelper
Return a list of classes, which reside in the same package an on the same classpath entry than the given class.
getPasswordHasher(String) - Method in class org.clazzes.util.sec.HasherFactory
 
getPasswordHasher(String) - Method in interface org.clazzes.util.sec.PasswordHasherFactory
Returns an instance of a password hasher for the given algorithm name, or null if none could be found.
getPropertyFromGetterName(String) - Static method in class org.clazzes.util.reflect.PropertyHelper
Returns the property name of a given getter method name.
getPropertyFromSetterName(String) - Static method in class org.clazzes.util.reflect.PropertyHelper
Returns the property name of a given setter method name.
getPublicId() - Method in class org.clazzes.util.xml.ClasspathLSInput
 
getRandom(int) - Static method in class org.clazzes.util.lang.Util
Give me a SecureRandom of a desired length.
getRandomPassword() - Static method in class org.clazzes.util.sec.Crypter
Creates a random password with 8 characters.
getRandomPassword(int) - Static method in class org.clazzes.util.sec.Crypter
Creates a random password with a certain number of characters.
getRandomSalt() - Static method in class org.clazzes.util.sec.Crypter
Creates a random salt String.
getRootHandler(String, String, String, Attributes) - Method in class org.clazzes.util.xml.SimpleContentHandler
This function is called, when the root element is opened through ContentHandler.startElement(String, String, String, Attributes).
getSaltLength() - Method in class org.clazzes.util.sec.CryptPasswordHasher
 
getSaltLength() - Method in interface org.clazzes.util.sec.PasswordHasher
 
getSaltLength() - Method in class org.clazzes.util.sec.PlainPasswordHasher
 
getSaltLength() - Method in class org.clazzes.util.sec.SSHA1PasswordHasher
 
getSecond() - Method in class org.clazzes.util.datetime.UtcTimestamp
 
getSecond() - Method in class org.clazzes.util.lang.Pair
 
getSecond() - Method in class org.clazzes.util.lang.Triple
 
getSetterName(String) - Static method in class org.clazzes.util.reflect.PropertyHelper
 
getSHA1hash(byte[]) - Static method in class org.clazzes.util.lang.Util
Give me the SHA1 Value of a Byte array.
getSHA1hash(String) - Static method in class org.clazzes.util.lang.Util
Give me the SHA1 Value of a String.
getStringData() - Method in class org.clazzes.util.xml.ClasspathLSInput
 
getSystemId() - Method in class org.clazzes.util.xml.ClasspathLSInput
 
getThird() - Method in class org.clazzes.util.lang.Triple
 
getType() - Method in interface org.clazzes.util.reflect.FieldAccessor
 
getType() - Method in class org.clazzes.util.reflect.POJOFieldAccessor
 
getTzOffset() - Method in class org.clazzes.util.datetime.UtcTimestamp
 
getUtcMillis() - Method in class org.clazzes.util.datetime.UtcTimestamp
 
getUTCnow() - Static method in class org.clazzes.util.lang.Util
 
getUTCtimestamp(long) - Static method in class org.clazzes.util.lang.Util
 
getValueOf(Object) - Method in interface org.clazzes.util.reflect.FieldAccessor
Gets the associated field value of the given instance of the underlying class.
getValueOf(Object) - Method in class org.clazzes.util.reflect.POJOFieldAccessor
 
getWrapped() - Method in class org.clazzes.util.lifecycle.impl.RecyclableObjectWrapper
 
getYear() - Method in class org.clazzes.util.datetime.GlobalDate
 
getYear() - Method in class org.clazzes.util.datetime.UtcTimestamp
 
getYyyymmdd() - Method in class org.clazzes.util.datetime.GlobalDate
 
GlobalDate - Class in org.clazzes.util.datetime
A class to store a simple Gregorian Date (i.e. year, month, day) as 8 digit integer (yyyymmdd) in a database.
GlobalDate() - Constructor for class org.clazzes.util.datetime.GlobalDate
 
GlobalDate(int, int, int) - Constructor for class org.clazzes.util.datetime.GlobalDate
 
GlobalDate(Date) - Constructor for class org.clazzes.util.datetime.GlobalDate
 
GlobalDate(Calendar) - Constructor for class org.clazzes.util.datetime.GlobalDate
 
GlobalDate(UtcTimestamp) - Constructor for class org.clazzes.util.datetime.GlobalDate
 
GlobalDate(long) - Constructor for class org.clazzes.util.datetime.GlobalDate
 
GlobalDate(int) - Constructor for class org.clazzes.util.datetime.GlobalDate
 

H

hashCode() - Method in class org.clazzes.util.datetime.GlobalDate
 
hashCode() - Method in class org.clazzes.util.datetime.UtcTimestamp
 
hashCode() - Method in class org.clazzes.util.lang.Pair
 
hashCode() - Method in class org.clazzes.util.lang.Triple
 
Hasher - Class in org.clazzes.util.sec
A Tool to hash passwords and test the PasswordHasher classes
Hasher() - Constructor for class org.clazzes.util.sec.Hasher
 
HasherFactory - Class in org.clazzes.util.sec
 
HasherFactory() - Constructor for class org.clazzes.util.sec.HasherFactory
 
hashers_byname - Variable in class org.clazzes.util.sec.HasherFactory
 
hashPassword(String, String) - Method in class org.clazzes.util.sec.CryptPasswordHasher
 
hashPassword(String) - Method in interface org.clazzes.util.sec.PasswordHasher
Hashes the given password using a random salt.
hashPassword(String, String) - Method in interface org.clazzes.util.sec.PasswordHasher
Hashes the given password using the given salt.
hashPassword(String) - Method in class org.clazzes.util.sec.PlainPasswordHasher
 
hashPassword(String, String) - Method in class org.clazzes.util.sec.PlainPasswordHasher
 
hashPassword(String, String) - Method in class org.clazzes.util.sec.SSHA1PasswordHasher
 
HashTools - Class in org.clazzes.util.sec
A view [Password]Hasher helpers center For usage, see classes Hasher and PersonOperations
HashTools() - Constructor for class org.clazzes.util.sec.HashTools
 

I

I18N - Annotation Type in org.clazzes.util.annotations
This annotation holds a translatable string mostly used by another annotations.
ignorableWhitespace(char[], int, int) - Method in class org.clazzes.util.xml.SimpleContentHandler
 
initDes() - Static method in class org.clazzes.util.sec.Crypter
Initialze unit - may be invoked directly by user.
internalCreateNew(T) - Method in class org.clazzes.util.lifecycle.impl.AbstractObjectFactoryImpl
Concrete implementations should use this method instead of AbstractObjectFactoryImpl.createNew(Object) to retrieve new objects.
internalCreateNew(T) - Method in class org.clazzes.util.lifecycle.impl.AbstractRecyclerImpl
 
InvalidExpressionSyntaxException - Exception in org.clazzes.util.comparators
This exception is thrown, whever the syntax of a comparator expression is invalid.
InvalidExpressionSyntaxException(String) - Constructor for exception org.clazzes.util.comparators.InvalidExpressionSyntaxException
 
InvalidExpressionSyntaxException(String, String, Throwable) - Constructor for exception org.clazzes.util.comparators.InvalidExpressionSyntaxException
 
InvalidExpressionSyntaxException(String, String) - Constructor for exception org.clazzes.util.comparators.InvalidExpressionSyntaxException
 
InvalidExpressionSyntaxException(String, Throwable) - Constructor for exception org.clazzes.util.comparators.InvalidExpressionSyntaxException
 
invert(byte[]) - Static method in class org.clazzes.util.lang.Util
Invert a Byte array.
inWindows() - Static method in class org.clazzes.util.lang.Util
Tells if we are under M$ Windows, after checking if necessary
IOUtil - Class in org.clazzes.util.io
 
IPAddressType - Enum in org.clazzes.util.net
Describes the "nature" of an IP address stored in a string or long.
ipLong2String(long) - Static method in class org.clazzes.util.net.NetUtil
Take a long representing an IPv4 address and converts it to a printable string
ipString2Long(String) - Static method in class org.clazzes.util.net.NetUtil
Parses a string containing a dotted IPv4 address and converts it to a long.
isCachable(T, ObjectCreatable<T>) - Method in class org.clazzes.util.lifecycle.impl.AbstractRecyclerImpl
Checks if the passed object and key are valid, and the object can be recycled.
isLeapYear(int) - Static method in class org.clazzes.util.datetime.UtcTimestamp
 
isLeapYear() - Method in class org.clazzes.util.datetime.UtcTimestamp
 
ISO8601Format - Class in org.clazzes.util.datetime
Format Calendar objects cf.
ISO8601Format(int) - Constructor for class org.clazzes.util.datetime.ISO8601Format
Instantiate an ISO8601 formatter using the given format.
ISO8601Format(int, TimeZone) - Constructor for class org.clazzes.util.datetime.ISO8601Format
Instantiate an ISO8601 formatter using the given format.
isToBeFinished() - Method in class org.clazzes.util.thread.ThreadStopper
This method is used inside the thread's main loop in order to check, whether the thread has be stopped the next time it has finished a portion of his work.
isToBeFinished() - Method in class org.clazzes.util.thread.ThreadTimer
 
isValidIPv4(String) - Static method in class org.clazzes.util.net.NetUtil
Checks if a string contains (only) a valid IPv4 address.

K

key - Variable in class org.clazzes.util.lifecycle.impl.RecyclableImpl
 

L

LocalizedComparatorFactory - Class in org.clazzes.util.comparators
This ComparatorFactory implementation returns a localized Collator instance for String objects and an ComparableComparator instance for Comparables.
LocalizedComparatorFactory() - Constructor for class org.clazzes.util.comparators.LocalizedComparatorFactory
Construct a LocalizedComparatorFactory for the current locale and the default strength Collator.IDENTICAL.
LocalizedComparatorFactory(Locale) - Constructor for class org.clazzes.util.comparators.LocalizedComparatorFactory
Construct a LocalizedComparatorFactory for the given locale and the default strength Collator.IDENTICAL.
LocalizedComparatorFactory(Locale, int) - Constructor for class org.clazzes.util.comparators.LocalizedComparatorFactory
Construct a LocalizedComparatorFactory for the given locale and the default strength Collator.IDENTICAL.
log - Static variable in class org.clazzes.util.sec.Hasher
 

M

main(String[]) - Static method in class org.clazzes.util.sec.Hasher
 
merge(Cacheable<T>) - Method in interface org.clazzes.util.lifecycle.Cacheable
Merges (replace values of this with values of object) the values of two Cacheable objects if possible.
MILLISECOND_FORMAT - Static variable in class org.clazzes.util.datetime.ISO8601Format
Format Calendars using date and time fields up to milliseconds including the timezone designator.
MILLISECOND_FORMAT_NO_TZ - Static variable in class org.clazzes.util.datetime.ISO8601Format
Format Calendars using date and time fields up to milliseconds skipping the timezone designator.
MILLISECONDS_PER_DAY - Static variable in class org.clazzes.util.datetime.UtcTimestamp
 
MILLISECONDS_PER_HOUR - Static variable in class org.clazzes.util.datetime.UtcTimestamp
 
MILLISECONDS_PER_MINUTE - Static variable in class org.clazzes.util.datetime.UtcTimestamp
 
MILLISECONDS_PER_SECOND - Static variable in class org.clazzes.util.datetime.UtcTimestamp
 
month - Variable in class org.clazzes.util.datetime.GlobalDate
 
monthsBetween(Calendar, Calendar) - Static method in class org.clazzes.util.datetime.CalendarHelper
Calculate the number of months between the two given dates.
monthsBetween(UtcTimestamp, UtcTimestamp) - Static method in class org.clazzes.util.datetime.UtcTimestamp
 
moveToFirstDayOfWeek(Calendar, int) - Static method in class org.clazzes.util.datetime.CalendarHelper
 
moveToFirstDayOfWeek(Calendar) - Static method in class org.clazzes.util.datetime.CalendarHelper
This function move the given calendar to first day of the week, where the first day of the week is determined by Calendar.getFirstDayOfWeek(), which reflects the locale-specific settings of the given calendar.
moveToFirstDayOfWeek(int, TimeZone) - Method in class org.clazzes.util.datetime.UtcTimestamp
Move this timestamp to the first day of the week.

N

NetUtil - Class in org.clazzes.util.net
 
newCloner(Class<T>) - Method in class org.clazzes.util.reflect.ClonerFactory
Return a cloner for a given POJO class.
newCloner(Class<T>) - Method in class org.clazzes.util.reflect.impl.ClonerFactoryImpl
 
newInstance() - Static method in class org.clazzes.util.reflect.ClonerFactory
 
newSerializer(OutputStream) - Static method in class org.clazzes.util.xml.XMLSerializerHelper
 
now() - Static method in class org.clazzes.util.datetime.UtcTimestamp
 
now(int) - Static method in class org.clazzes.util.datetime.UtcTimestamp
 
now(TimeZone) - Static method in class org.clazzes.util.datetime.UtcTimestamp
This method duplicates the functionality of UtcTimestamp.UtcTimestamp(TimeZone) for convenience reasons.

O

ObjectCreatable<T> - Interface in org.clazzes.util.lifecycle
Basic interface to be implemented by objects that would be created by a ObjectFactory.
objectFactory - Variable in class org.clazzes.util.lifecycle.impl.RecyclableImpl
 
ObjectFactory<T> - Interface in org.clazzes.util.lifecycle
A "factory" to provide lifecycle objects for the given id.
org.clazzes.util.annotations - package org.clazzes.util.annotations
 
org.clazzes.util.comparators - package org.clazzes.util.comparators
 
org.clazzes.util.datetime - package org.clazzes.util.datetime
 
org.clazzes.util.io - package org.clazzes.util.io
 
org.clazzes.util.lang - package org.clazzes.util.lang
 
org.clazzes.util.lifecycle - package org.clazzes.util.lifecycle
 
org.clazzes.util.lifecycle.impl - package org.clazzes.util.lifecycle.impl
 
org.clazzes.util.net - package org.clazzes.util.net
 
org.clazzes.util.reflect - package org.clazzes.util.reflect
 
org.clazzes.util.reflect.impl - package org.clazzes.util.reflect.impl
 
org.clazzes.util.sec - package org.clazzes.util.sec
 
org.clazzes.util.thread - package org.clazzes.util.thread
 
org.clazzes.util.xml - package org.clazzes.util.xml
 

P

PackageHelper - Class in org.clazzes.util.reflect
This class provides static functionality for handling java packages.
PackageHelper() - Constructor for class org.clazzes.util.reflect.PackageHelper
 
Pair<A,B> - Class in org.clazzes.util.lang
 
Pair() - Constructor for class org.clazzes.util.lang.Pair
Contructs a pair holding two null values.
Pair(A, B) - Constructor for class org.clazzes.util.lang.Pair
Contructs a pair holding the given objects.
Pair(Pair<A, B>) - Constructor for class org.clazzes.util.lang.Pair
Contructs a pair holding the objects of the given pair.
parseAlorithmName(String) - Static method in class org.clazzes.util.sec.HashTools
Parses the algorithm name from the given hashed password's algorithm prefix.
parseObject(String, ParsePosition) - Method in class org.clazzes.util.datetime.ISO8601Format
 
parseZeroTerminatedString(byte[]) - Static method in class org.clazzes.util.lang.Util
Converts a zero terminated ASCII string to a java String object, suggesting ASCII charset.
parseZeroTerminatedString(byte[], String) - Static method in class org.clazzes.util.lang.Util
Converts a zero terminated ASCII string to a java String object, using the given charset.
PasswordHasher - Interface in org.clazzes.util.sec
The password hasher interface, to allow maximum flexibility
passwordHasherFactory - Static variable in class org.clazzes.util.sec.Hasher
 
PasswordHasherFactory - Interface in org.clazzes.util.sec
 
PlainPasswordHasher - Class in org.clazzes.util.sec
The Plain text (pseudo) hasher
PlainPasswordHasher() - Constructor for class org.clazzes.util.sec.PlainPasswordHasher
 
POJOCloner<T> - Class in org.clazzes.util.reflect.impl
A field by field cloner for POJOs.
POJOCloner(Class<T>) - Constructor for class org.clazzes.util.reflect.impl.POJOCloner
 
POJOComparatorFactory - Class in org.clazzes.util.comparators
This factory contructs a comparator for a POJO class by parsing an expression.
POJOComparatorFactory() - Constructor for class org.clazzes.util.comparators.POJOComparatorFactory
Contruct a POJOComparatorFactory using an instance of DefaultComparatorFactory.
POJOComparatorFactory(Locale) - Constructor for class org.clazzes.util.comparators.POJOComparatorFactory
Contruct a POJOComparatorFactory using an instance of LocalizedComparatorFactory
POJOComparatorFactory(ComparatorFactory) - Constructor for class org.clazzes.util.comparators.POJOComparatorFactory
Contruct a POJOComparatorFactory using the given comparator factory for constructing value comparators.
POJOFieldAccessor - Class in org.clazzes.util.reflect
 
POJOFieldAccessor(Field) - Constructor for class org.clazzes.util.reflect.POJOFieldAccessor
Instantiates a field accessor for a field of a given POJO.
POJOFieldAccessor(Class, String) - Constructor for class org.clazzes.util.reflect.POJOFieldAccessor
Instantiates a field accessor for a property of a given POJO.
POJOFieldAccessor(Method) - Constructor for class org.clazzes.util.reflect.POJOFieldAccessor
Instantiates a field accessor for a property of a given POJO specified through the supplied getter method.
POJOFieldComparator - Class in org.clazzes.util.comparators
This comparator compares a POJO by the value of the supplied property.
POJOFieldComparator(FieldAccessor, Comparator) - Constructor for class org.clazzes.util.comparators.POJOFieldComparator
Contructs a field comparator, which uses the given accessor and Comparator.
POJOFieldComparator(FieldAccessor, ComparatorFactory) - Constructor for class org.clazzes.util.comparators.POJOFieldComparator
Contructs a field comparator, which uses the given accessor and constructs the comparator for the field using the given ComparatorFactory.
POJOFieldComparator(Class, String, Comparator) - Constructor for class org.clazzes.util.comparators.POJOFieldComparator
Contructs a field comparator, which compare POJOs by the value of the given property name using the given Comparator.
POJOFieldComparator(Class, String, ComparatorFactory) - Constructor for class org.clazzes.util.comparators.POJOFieldComparator
Contructs a field comparator, which comparea POJOs by the value of the given property name and the comparator constructed using the given ComparatorFactory.
prependAlgorithmKey(String) - Method in class org.clazzes.util.sec.PlainPasswordHasher
 
processCharacters(char[], int, int) - Method in interface org.clazzes.util.xml.SAXTagHandler
This function is called, when character data inside the processed tag is received through ContentHandler.characters(char[], int, int).
processingInstruction(String, String) - Method in class org.clazzes.util.xml.SimpleContentHandler
 
PropertyHelper - Class in org.clazzes.util.reflect
This class provides some static function for transformting property names to getter/setter names.
pushBack(T, ObjectCreatable<T>) - Method in class org.clazzes.util.lifecycle.impl.AbstractRecyclerImpl
 
pushBack(T, ObjectCreatable<T>) - Method in interface org.clazzes.util.lifecycle.Recycler
Objects implementing the Recyclable interface must call this method in their Recyclable.recycle() method with themselves and their key as arguments, to return themselves to the Recycler.

R

randomizer - Static variable in class org.clazzes.util.sec.HashTools
 
randomSalt() - Static method in class org.clazzes.util.sec.HashTools
 
randomSalt(int) - Static method in class org.clazzes.util.sec.HashTools
Creates a random salt with the given length.
readByte(InputStream) - Static method in class org.clazzes.util.io.IOUtil
Read one byte from the Stream.
readByteArrayFromFile(File) - Static method in class org.clazzes.util.io.IOUtil
Reads a byte array from the given file
readByteArrayFromFile(String) - Static method in class org.clazzes.util.io.IOUtil
Reads a byte array from the file with the given name
readZeroTerminatedString(InputStream, int) - Static method in class org.clazzes.util.io.IOUtil
Read a 0x00 terminated String
Recyclable<T> - Interface in org.clazzes.util.lifecycle
Interface to manage the life cycle of objects in combination with a Recycler.
RecyclableImpl<T> - Class in org.clazzes.util.lifecycle.impl
A basic example implementation of Recyclable.
RecyclableImpl() - Constructor for class org.clazzes.util.lifecycle.impl.RecyclableImpl
 
RecyclableObjectWrapper<T> - Class in org.clazzes.util.lifecycle.impl
 
RecyclableObjectWrapper(T) - Constructor for class org.clazzes.util.lifecycle.impl.RecyclableObjectWrapper
 
recycle() - Method in class org.clazzes.util.lifecycle.impl.RecyclableImpl
 
recycle() - Method in interface org.clazzes.util.lifecycle.Recyclable
When the lifecycle of an object is over, this method must be called to return it to the Recycler for later use.
Recycler<T> - Interface in org.clazzes.util.lifecycle
A recycler works as a specialized factory to deliver new object instances of type Recyclable.
ReflectionRecycler - Class in org.clazzes.util.lifecycle.impl
A basic example implementation of Recycler using reflection and a String key.
ReflectionRecycler() - Constructor for class org.clazzes.util.lifecycle.impl.ReflectionRecycler
 
registerClass(String, Class<? extends ObjectCreatable<String>>) - Method in class org.clazzes.util.lifecycle.impl.ReflectionRecycler
Registers a class for a key.
requestStop() - Method in class org.clazzes.util.thread.ThreadStopper
Requests the thread to be stopped.
requestStop() - Method in class org.clazzes.util.thread.ThreadTimer
 
resolveResource(String, String, String, String, String) - Method in class org.clazzes.util.xml.ClasspathLSResourceResolver
 
resume() - Method in class org.clazzes.util.thread.ThreadStopper
Requests the thread to be stopped.
run() - Method in class org.clazzes.util.thread.ThreadTimer
 

S

SAXTagHandler - Interface in org.clazzes.util.xml
An interface, which allows to implement SAX parsers as a stack of tag handlers.
selfTest(boolean) - Static method in class org.clazzes.util.sec.Crypter
This method test crypt.
setBaseURI(String) - Method in class org.clazzes.util.xml.ClasspathLSInput
 
setByteStream(InputStream) - Method in class org.clazzes.util.xml.ClasspathLSInput
 
setCertifiedText(boolean) - Method in class org.clazzes.util.xml.ClasspathLSInput
 
setCharacterStream(Reader) - Method in class org.clazzes.util.xml.ClasspathLSInput
 
setCollator(Collator) - Method in class org.clazzes.util.comparators.LocalizedComparatorFactory
 
setDate(int, int, int) - Method in class org.clazzes.util.datetime.GlobalDate
 
setDate(Date) - Method in class org.clazzes.util.datetime.GlobalDate
 
setDate(Calendar) - Method in class org.clazzes.util.datetime.GlobalDate
 
setDate(UtcTimestamp) - Method in class org.clazzes.util.datetime.GlobalDate
 
setDate(long) - Method in class org.clazzes.util.datetime.GlobalDate
 
setDate(int, int, int) - Method in class org.clazzes.util.datetime.UtcTimestamp
Set the day relative to the currently effective timezone.
setDateTime(int, int, int, int, TimeZone) - Method in class org.clazzes.util.datetime.UtcTimestamp
Set the date, time and timezone offset the given instance in time in the given timezone considering daylight savings time.
setDateTime(int, int, int, int, int, int, int, TimeZone) - Method in class org.clazzes.util.datetime.UtcTimestamp
Set the date, time and timezone offset the given instance in time in the given timezone considering daylight savings time.
setDateTime(int, int, int, int, int, int, TimeZone) - Method in class org.clazzes.util.datetime.UtcTimestamp
Set the date, time and timezone offset the given instance in time in the given timezone considering daylight savings time.
setDay(int) - Method in class org.clazzes.util.datetime.GlobalDate
 
setDocumentLocator(Locator) - Method in class org.clazzes.util.xml.SimpleContentHandler
 
setEncoding(String) - Method in class org.clazzes.util.xml.ClasspathLSInput
 
setFieldAccessor(FieldAccessor) - Method in class org.clazzes.util.comparators.POJOFieldComparator
 
setFieldComparator(Comparator) - Method in class org.clazzes.util.comparators.POJOFieldComparator
 
setFirst(A) - Method in class org.clazzes.util.lang.Pair
 
setFirst(A) - Method in class org.clazzes.util.lang.Triple
 
setFromCalendar(Calendar) - Method in class org.clazzes.util.datetime.UtcTimestamp
Convert the passed Calendar object to UtcTimestamp.
setId(T) - Method in interface org.clazzes.util.lifecycle.Cacheable
Sets the id of this object.
setIdAccessor(FieldAccessor) - Method in interface org.clazzes.util.reflect.FieldAccessor
Set the accessor used to access the ID-Field of the same POJO this FieldAccessor belongs to.
setIdAccessor(FieldAccessor) - Method in class org.clazzes.util.reflect.POJOFieldAccessor
 
setKey(T) - Method in class org.clazzes.util.lifecycle.impl.RecyclableImpl
 
setKey(T) - Method in interface org.clazzes.util.lifecycle.Recyclable
Specify key for the object.
setMonth(int) - Method in class org.clazzes.util.datetime.GlobalDate
 
setObjectFactory(ObjectFactory<T>) - Method in class org.clazzes.util.lifecycle.impl.RecyclableImpl
 
setObjectFactory(ObjectFactory<T>) - Method in interface org.clazzes.util.lifecycle.ObjectCreatable
 
setPublicId(String) - Method in class org.clazzes.util.xml.ClasspathLSInput
 
setSecond(B) - Method in class org.clazzes.util.lang.Pair
 
setSecond(B) - Method in class org.clazzes.util.lang.Triple
 
setString(String) - Method in class org.clazzes.util.datetime.UtcTimestamp
Set an ISO8601 formatted timestamp to this object.
setStringData(String) - Method in class org.clazzes.util.xml.ClasspathLSInput
 
setSystemId(String) - Method in class org.clazzes.util.xml.ClasspathLSInput
 
setThird(C) - Method in class org.clazzes.util.lang.Triple
 
setThreadTimer(ThreadTimer) - Method in interface org.clazzes.util.thread.TimedThread
Sets the threadTimer
setTimeOfDay(int, int, int) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
setTimeOfDay(int, int, int, int) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
setTzOffset(Integer) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
setUtcMillis(Long) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
setValueOn(Object, Object) - Method in interface org.clazzes.util.reflect.FieldAccessor
Sets the associated field value on the given instance of the underlying class.
setValueOn(Object, Object) - Method in class org.clazzes.util.reflect.POJOFieldAccessor
 
setYear(int) - Method in class org.clazzes.util.datetime.GlobalDate
 
setYyyymmdd(Integer) - Method in class org.clazzes.util.datetime.GlobalDate
 
SimpleContentHandler - Class in org.clazzes.util.xml
This class implements a SAX content handler, which holds a stack of TagHandlers and thus eases the writing of SAX parsers.
SimpleContentHandler() - Constructor for class org.clazzes.util.xml.SimpleContentHandler
Construct a SimpleContentHandler.
skippedEntity(String) - Method in class org.clazzes.util.xml.SimpleContentHandler
 
SSHA1PasswordHasher - Class in org.clazzes.util.sec
The SSHA1 hasher
SSHA1PasswordHasher() - Constructor for class org.clazzes.util.sec.SSHA1PasswordHasher
 
startChildElement(String, String, String, Attributes) - Method in interface org.clazzes.util.xml.SAXTagHandler
This function is called, when a child element is opened inside the processed tag through ContentHandler.startElement(String, String, String, Attributes).
startDocument() - Method in class org.clazzes.util.xml.SimpleContentHandler
 
startElement(String, String, String, Attributes) - Method in class org.clazzes.util.xml.SimpleContentHandler
 
startPrefixMapping(String, String) - Method in class org.clazzes.util.xml.SimpleContentHandler
 
stripAlgorithmKey(String) - Method in class org.clazzes.util.sec.PlainPasswordHasher
 
subArray(byte[], int, int) - Static method in class org.clazzes.util.lang.Util
 

T

ThreadStopper - Class in org.clazzes.util.thread
 
ThreadStopper() - Constructor for class org.clazzes.util.thread.ThreadStopper
Instantiates a new ThreadStopper instance, which is in the not-being-stopped state.
ThreadTimer - Class in org.clazzes.util.thread
 
ThreadTimer(TimedThread) - Constructor for class org.clazzes.util.thread.ThreadTimer
contructes the object and sets the thread to run
TimedThread - Interface in org.clazzes.util.thread
 
toCalendar() - Method in class org.clazzes.util.datetime.GlobalDate
 
toCalendar() - Method in class org.clazzes.util.datetime.UtcTimestamp
Convert this UtcTimestamp to java.util.Calendar.
toDate() - Method in class org.clazzes.util.datetime.GlobalDate
 
toMillis() - Method in class org.clazzes.util.datetime.GlobalDate
 
toString() - Method in class org.clazzes.util.datetime.GlobalDate
 
toString(int) - Method in class org.clazzes.util.datetime.UtcTimestamp
 
toString() - Method in class org.clazzes.util.datetime.UtcTimestamp
 
toUtcTimestamp() - Method in class org.clazzes.util.datetime.GlobalDate
 
Triple<A,B,C> - Class in org.clazzes.util.lang
 
Triple() - Constructor for class org.clazzes.util.lang.Triple
Contructs a triple holding two null values.
Triple(A, B, C) - Constructor for class org.clazzes.util.lang.Triple
Contructs a triple holding the given objects.
Triple(Triple<A, B, C>) - Constructor for class org.clazzes.util.lang.Triple
Contructs a triple holding the objects of the given pair.

U

u8ToByte(int) - Static method in class org.clazzes.util.lang.Util
Converts an unsigned 8 bit value to a (pseudo-signed) byte.
UtcTimestamp - Class in org.clazzes.util.datetime
A class to store UTC timestamps and timezone offset to database.
UtcTimestamp() - Constructor for class org.clazzes.util.datetime.UtcTimestamp
Construct a new UtcTimestamp for the current time in the utc timezone (tzOffset=0).
UtcTimestamp(UtcTimestamp) - Constructor for class org.clazzes.util.datetime.UtcTimestamp
Copy constructor.
UtcTimestamp(Calendar) - Constructor for class org.clazzes.util.datetime.UtcTimestamp
Construct a new UtcTimestamp for the passed Calendar object.
UtcTimestamp(long) - Constructor for class org.clazzes.util.datetime.UtcTimestamp
Construct a new UtcTimestamp for the passed milliseconds with a tzOffset=0.
UtcTimestamp(TimeZone, long) - Constructor for class org.clazzes.util.datetime.UtcTimestamp
Construct a new UtcTimestamp for the passed milliseconds with a tzOffset for the given timezone at the given instance in time.
UtcTimestamp(TimeZone) - Constructor for class org.clazzes.util.datetime.UtcTimestamp
Construct a new UtcTimestamp for the current time with a tzOffset for the given timezone at the current time.
UtcTimestamp(long, int) - Constructor for class org.clazzes.util.datetime.UtcTimestamp
Construct a new UtcTimestamp for the passed milliseconds an timezone offset.
UtcTimestamp(String) - Constructor for class org.clazzes.util.datetime.UtcTimestamp
Contruct an UtcTimestamp from an ISO8601-formatted string.
Util - Class in org.clazzes.util.lang
 
Util.OperatingSystem - Enum in org.clazzes.util.lang
Enumeration of all OS we are able to detect

V

valueOf(String) - Static method in enum org.clazzes.util.lang.Util.OperatingSystem
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.clazzes.util.net.IPAddressType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.clazzes.util.lang.Util.OperatingSystem
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.clazzes.util.net.IPAddressType
Returns an array containing the constants of this enum type, in the order they're declared.

W

waitToBeFinished(long) - Method in class org.clazzes.util.thread.ThreadStopper
This function waits up to the given timeout in milliseconds or exits immediately after requestStop() has been called.
waitToBeFinished() - Method in class org.clazzes.util.thread.ThreadStopper
 
waitToBeFinished() - Method in class org.clazzes.util.thread.ThreadTimer
 
weeksBetween(Calendar, Calendar, int) - Static method in class org.clazzes.util.datetime.CalendarHelper
Calculate the number of weeks between the two given dates.
weeksBetween(UtcTimestamp, UtcTimestamp, int) - Static method in class org.clazzes.util.datetime.UtcTimestamp
 
writeToFile(String, byte[]) - Static method in class org.clazzes.util.io.IOUtil
Write the byte array to the file with the given file name
writeToFile(File, byte[]) - Static method in class org.clazzes.util.io.IOUtil
Write the byte array to the given file

X

XMLSerializerHelper - Class in org.clazzes.util.xml
This class retrieves an XML serializer and compensates for the lack of an XMLSerializerFactory in JAXP.
XMLSerializerHelper() - Constructor for class org.clazzes.util.xml.XMLSerializerHelper
 
xor(byte[], byte[]) - Static method in class org.clazzes.util.lang.Util
Calculate the XOR between two Byte arrays;

Y

year - Variable in class org.clazzes.util.datetime.GlobalDate
 
ymd2yyyymmdd() - Method in class org.clazzes.util.datetime.GlobalDate
 
yyyymmdd - Variable in class org.clazzes.util.datetime.GlobalDate
 
yyyymmdd2ymd() - Method in class org.clazzes.util.datetime.GlobalDate
 

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

Copyright © 2010. All Rights Reserved.