- ALNUM - Static variable in class org.foxlabs.util.UnicodeSet
-
Character set that contains alphanumeric characters.
- ALPHA - Static variable in class org.foxlabs.util.UnicodeSet
-
Character set that contains ASCII letters.
- append(byte) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified byte value to this buffer.
- append(byte[]) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified byte[] array to this buffer.
- append(byte[], int, int) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified number of elements from the specified
byte[] array starting from the specified offset to this
buffer.
- append(short) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified short value to this buffer as two
bytes, high byte first.
- append(short[]) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified short[] array to this buffer.
- append(short[], int, int) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified number of elements from the specified
short[] array starting from the specified offset to this
buffer.
- append(int) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified int value to this buffer as four
bytes, high byte first.
- append(int[]) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified int[] array to this buffer.
- append(int[], int, int) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified number of elements from the specified
int[] array starting from the specified offset to this
buffer.
- append(long) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified long value to this buffer as eight
bytes, high byte first.
- append(long[]) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified long[] array to this buffer.
- append(long[], int, int) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified number of elements from the specified
long[] array starting from the specified offset to this
buffer.
- append(float) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified float value to this buffer as a
4-byte quantity, high byte first.
- append(float[]) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified float[] array to this buffer.
- append(float[], int, int) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified number of elements from the specified
float[] array starting from the specified offset to this
buffer.
- append(double) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified double value to this buffer as a
8-byte quantity, high byte first.
- append(double[]) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified double[] array to this buffer.
- append(double[], int, int) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified number of elements from the specified
double[] array starting from the specified offset to this
buffer.
- append(char) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified char value to this buffer as a
2-byte value, high byte first.
- append(char[]) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified char[] array to this buffer.
- append(char[], int, int) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified number of elements from the specified
char[] array starting from the specified offset to this
buffer.
- append(boolean) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified boolean value to this buffer as a
1-byte value.
- append(boolean[]) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified boolean[] array to this buffer.
- append(boolean[], int, int) - Method in class org.foxlabs.util.ByteBuffer
-
Appends the specified number of elements from the specified
boolean[] array starting from the specified offset to this
buffer.
- append(ByteBuffer) - Method in class org.foxlabs.util.ByteBuffer
-
Appends all the data from the specified buffer to this buffer.
- arrayTypeOf(Class<E>) - Static method in class org.foxlabs.util.reflect.Types
-
Returns array type for the specified type of array elements.
- ASCII - Static variable in class org.foxlabs.util.UnicodeSet
-
Character set that contains all ASCII characters.
- Assert - Class in org.foxlabs.util
-
This class defines a number of methods that help to validate arguments.
- Assert() - Constructor for class org.foxlabs.util.Assert
-
- assertError(String) - Static method in class org.foxlabs.util.Assert
-
Returns IllegalArgumentException initialized with the
specified message and with adjusted stack trace.
- assertFalse(boolean, String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified flag is
true.
- assertTrue(boolean, String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified flag is
false.
- elementTypeOf(Type) - Static method in class org.foxlabs.util.reflect.Types
-
Returns raw element (value) type for the specified generic array,
collection or map type.
- EMPTY - Static variable in class org.foxlabs.util.UnicodeSet
-
Empty character set.
- ENGLISH - Static variable in class org.foxlabs.util.PeriodCounter
-
PeriodCounter instance for english locale.
- ensureCapacity(int) - Method in class org.foxlabs.util.ByteBuffer
-
Increases the capacity of this buffer if necessary.
- equals(Object) - Method in class org.foxlabs.util.Location
-
Determines if this location equals to the specified one.
- equals(Object) - Method in class org.foxlabs.util.reflect.PropertySetter.Field
-
Determines if this property setter equals to the specified one.
- equals(Object) - Method in class org.foxlabs.util.reflect.PropertySetter.Method
-
Determines if this property setter equals to the specified one.
- equals(Object) - Method in class org.foxlabs.util.resource.MessageBundle
-
Determines if this message bundle equals to the specified one.
- equals(Object) - Method in class org.foxlabs.util.UnicodeSet
-
Determines if this character set equals to the specified one.
- escape(char) - Static method in class org.foxlabs.util.UnicodeSet
-
Adds escape (\) character to the specified one if needed.
- escape(String) - Static method in class org.foxlabs.util.UnicodeSet
-
Adds escape (\) characters to the specified string.
- escape(String, StringBuilder) - Static method in class org.foxlabs.util.UnicodeSet
-
Adds escape (\) characters to the specified string and
appends result to the specified buffer.
- evaluate(Date) - Method in class org.foxlabs.util.PeriodCounter
-
Evaluates period string for the specified date.
- get(String) - Method in class org.foxlabs.util.resource.MessageBundle
-
Returns message for the specified key and default locale.
- get(String, Locale) - Method in class org.foxlabs.util.resource.MessageBundle
-
Returns message for the specified key and locale.
- getAnnotation(Class<A>) - Method in class org.foxlabs.util.reflect.BeanIntrospector
-
Returns bean annotation for the specified annotation type or
null if annotation is not defined.
- getAnnotation(Class<A>) - Method in class org.foxlabs.util.reflect.BeanIntrospector.Property
-
Returns this property annotation for the specified annotation type
or null if annotation is not defined.
- getAnnotations() - Method in class org.foxlabs.util.reflect.BeanIntrospector
-
Returns array of annotations defined on the bean type.
- getAnnotations() - Method in class org.foxlabs.util.reflect.BeanIntrospector.Property
-
Returns array of annotations defined on this property.
- getBaseName() - Method in class org.foxlabs.util.resource.MessageBundle
-
Returns message bundle base name.
- getBytes() - Method in class org.foxlabs.util.ByteBuffer
-
Returns array of bytes from this buffer.
- getClassLoader() - Method in class org.foxlabs.util.resource.MessageBundle
-
Returns class loader to be used for loading resources.
- getClassLoader() - Static method in class org.foxlabs.util.resource.ResourceHelper
-
Returns class loader.
- getClassLoader(ClassLoader) - Static method in class org.foxlabs.util.resource.ResourceHelper
-
- getDayPeriod(int, boolean) - Method in class org.foxlabs.util.PeriodCounter
-
Returns period string in days (less than 1 week).
- getGenericType() - Method in class org.foxlabs.util.reflect.BeanIntrospector.Property
-
Returns generic type of this property.
- getGenericType() - Method in class org.foxlabs.util.reflect.PropertyGetter
-
Returns generic type of the property.
- getGenericType() - Method in class org.foxlabs.util.reflect.PropertySetter.Field
-
Returns generic type of the field.
- getGenericType() - Method in class org.foxlabs.util.reflect.PropertySetter
-
Returns generic type of the property.
- getGenericType() - Method in class org.foxlabs.util.reflect.PropertySetter.Method
-
Returns generic return type of the method.
- getGetter() - Method in class org.foxlabs.util.reflect.BeanIntrospector.Property
-
Returns property value getter.
- getHourPeriod(int, boolean) - Method in class org.foxlabs.util.PeriodCounter
-
Returns period string in hours (less than 1 day).
- getInstance(Class<?>) - Static method in class org.foxlabs.util.reflect.BeanIntrospector
-
Returns BeanIntrospector instance for the specified type.
- getInstance(String) - Static method in class org.foxlabs.util.resource.MessageBundle
-
Returns message bundle for the specified base name and default class
loader.
- getInstance(String, ClassLoader) - Static method in class org.foxlabs.util.resource.MessageBundle
-
Returns message bundle for the specified base name and class loader.
- getInstance(String, MessageBundle) - Static method in class org.foxlabs.util.resource.MessageBundle
-
Returns message bundle for the specified base name, parent bundle and
default class loader.
- getInstance(String, ClassLoader, MessageBundle) - Static method in class org.foxlabs.util.resource.MessageBundle
-
Returns message bundle for the specified base name, class loader and
parent bundle.
- getLocale() - Method in class org.foxlabs.util.PeriodCounter
-
Returns locale of this counter.
- getMax() - Method in class org.foxlabs.util.UnicodeSet
-
Returns maximum bound for this character set.
- getMin() - Method in class org.foxlabs.util.UnicodeSet
-
Returns minimum bound for this character set.
- getMinutePeriod(int, boolean) - Method in class org.foxlabs.util.PeriodCounter
-
Returns period string in minutes (less than 1 hour).
- getMonthPeriod(int, boolean) - Method in class org.foxlabs.util.PeriodCounter
-
Returns period string in months (less than 1 year).
- getName() - Method in class org.foxlabs.util.reflect.BeanIntrospector.Property
-
Returns name of this property.
- getNowPeriod() - Method in class org.foxlabs.util.PeriodCounter
-
Returns period string for now (less than 1 minute).
- getPackageName(Class<?>) - Static method in class org.foxlabs.util.resource.ResourceHelper
-
Returns package name for the specified class.
- getParentBundle() - Method in class org.foxlabs.util.resource.MessageBundle
-
Returns parent message bundle.
- getProperties() - Method in class org.foxlabs.util.reflect.BeanIntrospector
-
Returns collection of all the properties defined on the bean.
- getProperty(String) - Method in class org.foxlabs.util.reflect.BeanIntrospector
-
Returns property descriptor for the specified property name or
null if property is not exists.
- getPropertyNames() - Method in class org.foxlabs.util.reflect.BeanIntrospector
-
Returns set of property names.
- getResourcePath(Class<?>) - Static method in class org.foxlabs.util.resource.ResourceHelper
-
Returns resource path for package of the specified class.
- getResourceURL(String) - Static method in class org.foxlabs.util.resource.ResourceHelper
-
Returns resource URL for the specified resource name.
- getResourceURL(String, ClassLoader) - Static method in class org.foxlabs.util.resource.ResourceHelper
-
Returns resource URL for the specified resource name using the specified
class loader.
- getSetter() - Method in class org.foxlabs.util.reflect.BeanIntrospector.Property
-
Returns property value setter.
- getType() - Method in class org.foxlabs.util.reflect.BeanIntrospector
-
Returns the type of bean.
- getType() - Method in class org.foxlabs.util.reflect.BeanIntrospector.Property
-
Returns raw type of this property.
- getType() - Method in class org.foxlabs.util.reflect.PropertyGetter
-
Returns raw type of the property.
- getType() - Method in class org.foxlabs.util.reflect.PropertySetter.Field
-
Returns raw type of the field.
- getType() - Method in class org.foxlabs.util.reflect.PropertySetter
-
Returns raw type of the property.
- getType() - Method in class org.foxlabs.util.reflect.PropertySetter.Method
-
Returns raw return type of the method.
- getValue(Object) - Method in class org.foxlabs.util.reflect.PropertyGetter
-
Returns property value for the specified object.
- getWeekPeriod(int, boolean) - Method in class org.foxlabs.util.PeriodCounter
-
Returns period string in weeks (less than 1 month).
- getYearPeriod(int, boolean) - Method in class org.foxlabs.util.PeriodCounter
-
Returns period string in years.
- inverse() - Method in class org.foxlabs.util.UnicodeSet
-
Returns inverse character set for this character set.
- isAssignableFrom(MessageBundle) - Method in class org.foxlabs.util.resource.MessageBundle
-
Determines whether the specified message bundle is either the same or
is a parent bundle of this bundle.
- isBoolean(Class<?>) - Static method in class org.foxlabs.util.reflect.Types
-
Determines if the specified type is a boolean type (either primitive or
object).
- isByte(Class<?>) - Static method in class org.foxlabs.util.reflect.Types
-
Determines if the specified type is a byte type (either primitive or
object).
- isDouble(Class<?>) - Static method in class org.foxlabs.util.reflect.Types
-
Determines if the specified type is a double type (either primitive or
object).
- isElementSet() - Method in class org.foxlabs.util.UnicodeSet
-
Determines if this character set represents a set of single characters.
- isFloat(Class<?>) - Static method in class org.foxlabs.util.reflect.Types
-
Determines if the specified type is a float type (either primitive or
object).
- isInteger(Class<?>) - Static method in class org.foxlabs.util.reflect.Types
-
Determines if the specified type is an integer type (either primitive or
object).
- isLong(Class<?>) - Static method in class org.foxlabs.util.reflect.Types
-
Determines if the specified type is a long type (either primitive or
object).
- isObject(Class<?>) - Static method in class org.foxlabs.util.reflect.Types
-
Determines if the specified type is an object type (not a primitive,
array, enum or annotation).
- isReadable() - Method in class org.foxlabs.util.reflect.BeanIntrospector.Property
-
Determines if this property is readable.
- isShort(Class<?>) - Static method in class org.foxlabs.util.reflect.Types
-
Determines if the specified type is a short type (either primitive or
object).
- isWriteable() - Method in class org.foxlabs.util.reflect.BeanIntrospector.Property
-
Determines if this property is writeable.
- newArray(Class<E>, int) - Static method in class org.foxlabs.util.reflect.Types
-
Creates a new array for the specified type of array elements.
- newCollection(Class<T>, int) - Static method in class org.foxlabs.util.reflect.Types
-
Creates a new collection of the specified type.
- newGetter(Member) - Static method in class org.foxlabs.util.reflect.PropertyGetter
-
Creates a new property getter for the specified class member.
- newInstance(Class<T>) - Static method in class org.foxlabs.util.reflect.Types
-
Creates a new object instance of the specified type.
- newList(Class<T>, int) - Static method in class org.foxlabs.util.reflect.Types
-
Creates a new list of the specified type.
- newMap(Class<T>, int) - Static method in class org.foxlabs.util.reflect.Types
-
Creates a new map of the specified type.
- newQueue(Class<T>, int) - Static method in class org.foxlabs.util.reflect.Types
-
Creates a new queue of the specified type.
- newSet(Class<T>, int) - Static method in class org.foxlabs.util.reflect.Types
-
Creates a new set of the specified type.
- newSetter(Member) - Static method in class org.foxlabs.util.reflect.PropertySetter
-
Creates a new property setter for the specified class member.
- next() - Method in class org.foxlabs.util.resource.Service.ProviderClassItr
-
Returns next service provider instance.
- next() - Method in class org.foxlabs.util.resource.Service.ProviderItr
-
Returns next service provider instance.
- noEmptyElements(String[], String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified array is
null or empty or contains null or empty
strings.
- noEmptyElements(T, String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified collection
is null or empty or contains null or empty
strings.
- noEmptyStringSet(String[], String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified array is
null or empty or contains null or empty
strings.
- noNullElements(T[], String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified array is
null or empty or contains null elements.
- noNullElements(T, String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified collection
is null or empty or contains null elements.
- noNullStringSet(String[], String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified array is
null or empty or contains null strings.
- notEmpty(String, String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified string is
null or empty.
- notEmpty(T[], String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified array is
null or empty.
- notEmpty(T, String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified collection
is null or empty.
- notNegative(int, String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified
int value is negative.
- notNegative(long, String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified
long value is negative.
- notNegative(float, String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified
float value is negative.
- notNegative(double, String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified
double value is negative.
- notNegativeOrZero(int, String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified
int value is negative or zero.
- notNegativeOrZero(long, String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified
long value is negative or zero.
- notNegativeOrZero(float, String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified
float value is negative or zero.
- notNegativeOrZero(double, String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified
double value is negative or zero.
- notNull(T, String) - Static method in class org.foxlabs.util.Assert
-
Throws IllegalArgumentException if the specified object is
null.
- parameterTypeOf(Class<?>, Class<?>, int) - Static method in class org.foxlabs.util.reflect.Types
-
Returns the type of parameter with the specified index for the specified
type.
- period(Date) - Static method in class org.foxlabs.util.PeriodCounter
-
Returns period string for the specified date and default locale.
- period(Date, Locale) - Static method in class org.foxlabs.util.PeriodCounter
-
Returns period string for the specified date and locale.
- PeriodCounter - Class in org.foxlabs.util
-
This class allows to evaluate period string for dates.
- PeriodCounter(Locale) - Constructor for class org.foxlabs.util.PeriodCounter
-
Constructs a new PeriodCounter with the specified locale.
- primitiveTypeOf(Class<?>) - Static method in class org.foxlabs.util.reflect.Types
-
Returns corresponding primitive type for the specified wrapper type.
- PRINT - Static variable in class org.foxlabs.util.UnicodeSet
-
Character set that contains printable ASCII characters.
- PropertyAccessException - Exception in org.foxlabs.util.reflect
-
Runtime wrapper for exceptions that can occur when invoking a method or
accessing a field.
- PropertyAccessException(Throwable) - Constructor for exception org.foxlabs.util.reflect.PropertyAccessException
-
Constructs a new PropertyAccessException with the specified
cause.
- PropertyGetter - Class in org.foxlabs.util.reflect
-
An abstract property getter that holds property type and provides read
access to the property value.
- PropertyGetter() - Constructor for class org.foxlabs.util.reflect.PropertyGetter
-
- PropertySetter - Class in org.foxlabs.util.reflect
-
An abstract property setter that holds property type and provides write
access to the property value.
- PropertySetter() - Constructor for class org.foxlabs.util.reflect.PropertySetter
-
- PropertySetter.Field - Class in org.foxlabs.util.reflect
-
This class provides PropertySetter implementation that
uses class field to access the property.
- PropertySetter.Method - Class in org.foxlabs.util.reflect
-
This class provides PropertySetter implementation that
uses setter method to access the property.
- rawTypeOf(Type) - Static method in class org.foxlabs.util.reflect.Types
-
Returns raw type for the specified generic type.
- readBinaryResource(String) - Static method in class org.foxlabs.util.resource.ResourceHelper
-
Reads content of resource with the specified name as binary data.
- readBinaryResource(String, ClassLoader) - Static method in class org.foxlabs.util.resource.ResourceHelper
-
Reads content of resource with the specified name as binary data using
the specified class loader.
- readTextResource(String) - Static method in class org.foxlabs.util.resource.ResourceHelper
-
Reads content of resource with the specified name as character data.
- readTextResource(String, ClassLoader) - Static method in class org.foxlabs.util.resource.ResourceHelper
-
Reads content of resource with the specified name as character data
using the specified class loader.
- readTextResource(String, String) - Static method in class org.foxlabs.util.resource.ResourceHelper
-
Reads content of resource with the specified name as character data
using the specified character encoding.
- readTextResource(String, String, ClassLoader) - Static method in class org.foxlabs.util.resource.ResourceHelper
-
Reads content of resource with the specified name as character data
using the specified character encoding and class loader.
- remove() - Method in class org.foxlabs.util.resource.Service.ProviderClassItr
-
Unsupported operation.
- remove() - Method in class org.foxlabs.util.resource.Service.ProviderItr
-
Unsupported operation.
- reset() - Method in class org.foxlabs.util.ByteBuffer
-
Clears this buffer.
- ResourceError - Error in org.foxlabs.util.resource
-
Thrown to indicate that operation with resources has failed.
- ResourceError(String) - Constructor for error org.foxlabs.util.resource.ResourceError
-
Constructs a new ResourceError with the specified detail
message.
- ResourceError(String, Throwable) - Constructor for error org.foxlabs.util.resource.ResourceError
-
Constructs a new ResourceError with the specified detail
message and cause.
- ResourceHelper - Class in org.foxlabs.util.resource
-
Helper class used for working with resources.
- ResourceHelper() - Constructor for class org.foxlabs.util.resource.ResourceHelper
-
- RUSSIAN - Static variable in class org.foxlabs.util.PeriodCounter
-
PeriodCounter instance for russian locale.
- toArray() - Method in class org.foxlabs.util.UnicodeSet
-
Returns array that contains all intervals of this character set.
- toString() - Method in class org.foxlabs.util.Location
-
Returns string representing this location.
- toString(StringBuilder) - Method in class org.foxlabs.util.Location
-
Appends string representation of this location to the specified buffer.
- toString() - Method in class org.foxlabs.util.reflect.BeanIntrospector.Property
-
Returns string representing this property.
- toString(StringBuilder) - Method in class org.foxlabs.util.reflect.BeanIntrospector.Property
-
Appends string representing this property to the specified buffer.
- toString() - Method in class org.foxlabs.util.reflect.BeanIntrospector
-
Returns string representing this bean type.
- toString() - Method in class org.foxlabs.util.reflect.PropertySetter.Field
-
Returns string representing signature of the field.
- toString() - Method in class org.foxlabs.util.reflect.PropertySetter.Method
-
Returns string representing signature of the method.
- toString() - Method in class org.foxlabs.util.resource.MessageBundle
-
Returns a string that contains base name of this message bundle and its
parent bundles.
- toString() - Method in class org.foxlabs.util.UnicodeSet
-
Returns string representing this character set.
- toString(StringBuilder) - Method in class org.foxlabs.util.UnicodeSet
-
Appends string representation of this character set to the specified
buffer.
- Types - Class in org.foxlabs.util.reflect
-
Helper class used for working with java types.
- Types() - Constructor for class org.foxlabs.util.reflect.Types
-
- typesOf(Object...) - Static method in class org.foxlabs.util.reflect.Types
-
Returns array of types for the specified array of objects.