A B C D E F G H I J L M N O P R S T U Y Z 
All Classes All Packages

A

abs() - Method in class org.bardframework.commons.utils.Fraction
Gets a fraction that is the positive equivalent of this one.
accessibleConstructor(Class<T>, Class<?>...) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Obtain an accessible constructor for the given class and parameters.
add(Fraction) - Method in class org.bardframework.commons.utils.Fraction
Adds the value of this fraction to another, returning the result in reduced form.
arraySplit(T[], int) - Static method in class org.bardframework.commons.utils.OsUtils
 
assertEquals(byte[], byte[]) - Static method in class org.bardframework.commons.utils.AssertionUtils
 
AssertionUtils - Class in org.bardframework.commons.utils
Created by vahid (va.zafari@gmail.com) on 10/30/17.

B

BytesUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari.

C

CharsetUtils - Class in org.bardframework.commons.utils
Demonstrate default Charset-related details.
collectionSplit(List, int) - Static method in class org.bardframework.commons.utils.OsUtils
 
compareTo(Fraction) - Method in class org.bardframework.commons.utils.Fraction
Compares this object to another based on size.
COPYABLE_FIELDS - Static variable in class org.bardframework.commons.utils.ReflectionUtils
Pre-built FieldFilter that matches all non-static, non-final fields.

D

dateTimeFromEpochMills(long) - Static method in class org.bardframework.commons.utils.DateTimeUtils
Obtains an instance of LocalDateTime using milliseconds from the epoch of 1970-01-01T00:00:00Z.
DateTimeUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.
declaresException(Method, Class<?>) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Determine whether the given method explicitly declares the given exception or one of its superclasses, which means that an exception of that type can be propagated as-is within a reflective invocation.
decodeBase64(byte[]) - Static method in class org.bardframework.commons.utils.EncodingUtils
 
decodeBase64(String) - Static method in class org.bardframework.commons.utils.EncodingUtils
 
decrypt(byte[], byte[]) - Static method in class org.bardframework.commons.utils.EncryptionUtil
 
decrypt(String, String) - Static method in class org.bardframework.commons.utils.EncryptionUtil
 
deserialize(byte[]) - Static method in class org.bardframework.commons.utils.SerializationUtils
 
deserialize(InputStream) - Static method in class org.bardframework.commons.utils.SerializationUtils
 
deserializeAndCheckObject(byte[], Class<? extends Serializable>) - Static method in class org.bardframework.commons.utils.SerializationUtils
 
digest(String, byte[]) - Static method in class org.bardframework.commons.utils.DigestUtils
 
digest(String, String) - Static method in class org.bardframework.commons.utils.DigestUtils
 
DigestUtils - Class in org.bardframework.commons.utils
 
divideBy(Fraction) - Method in class org.bardframework.commons.utils.Fraction
Divide the value of this fraction by another.
doesNotContain(String, String, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the given text does not contain the given substring.
doesNotContain(String, String, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the given text does not contain the given substring.
doubleValue() - Method in class org.bardframework.commons.utils.Fraction
Gets the fraction as a double.
doWith(Field) - Method in interface org.bardframework.commons.utils.ReflectionUtils.FieldCallback
Perform an operation using the given field.
doWith(Method) - Method in interface org.bardframework.commons.utils.ReflectionUtils.MethodCallback
Perform an operation using the given method.
doWithFields(Class<?>, ReflectionUtils.FieldCallback) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.
doWithFields(Class<?>, ReflectionUtils.FieldCallback, ReflectionUtils.FieldFilter) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.
doWithLocalFields(Class<?>, ReflectionUtils.FieldCallback) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Invoke the given callback on all locally declared fields in the given class.
doWithLocalMethods(Class<?>, ReflectionUtils.MethodCallback) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Perform the given callback operation on all matching methods of the given class, as locally declared or equivalent thereof (such as default methods on Java 8 based interfaces that the given class implements).
doWithMethods(Class<?>, ReflectionUtils.MethodCallback) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Perform the given callback operation on all matching methods of the given class and superclasses.
doWithMethods(Class<?>, ReflectionUtils.MethodCallback, ReflectionUtils.MethodFilter) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Perform the given callback operation on all matching methods of the given class and superclasses (or given interface and super-interfaces).
doWork(JarFile) - Method in class org.bardframework.commons.utils.JarFileUtils.JarDirectoryExtractor
 
doWork(JarFile) - Method in class org.bardframework.commons.utils.JarFileUtils.JarFileEntrySaver
 
doWork(JarFile) - Method in interface org.bardframework.commons.utils.JarFileUtils.JarModifier
 
doWork(JarFile) - Method in class org.bardframework.commons.utils.JarFileUtils.JarTextFileExtractor
 

E

encodeBase64(byte[]) - Static method in class org.bardframework.commons.utils.EncodingUtils
 
encodeBase64ToByteArray(byte[]) - Static method in class org.bardframework.commons.utils.EncodingUtils
 
EncodingUtils - Class in org.bardframework.commons.utils
 
encrypt(byte[], byte[]) - Static method in class org.bardframework.commons.utils.EncryptionUtil
 
encrypt(String, String) - Static method in class org.bardframework.commons.utils.EncryptionUtil
 
EncryptionUtil - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 4/21/2016.
equals(Object) - Method in class org.bardframework.commons.utils.Fraction
Compares this fraction to another object to test if they are equal.

F

fetchPropertyFields(Set<String>, String) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
fillTemplate(String, String, String, Map<String, String>) - Static method in class org.bardframework.commons.utils.StringTemplateUtils
 
fillTemplate(String, Map<String, String>) - Static method in class org.bardframework.commons.utils.StringTemplateUtils
 
fillUrlTemplate(String, String, String, Map<String, String>) - Static method in class org.bardframework.commons.utils.UrlUtils
 
fillUrlTemplate(String, Map<String, String>) - Static method in class org.bardframework.commons.utils.UrlUtils
 
findField(Class<?>, String) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Attempt to find a field on the supplied Class with the supplied name.
findField(Class<?>, String, Class<?>) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Attempt to find a field on the supplied Class with the supplied name and/or type.
findField(Class<?>, ReflectionUtils.DescribedFieldFilter) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Finds the field matching the given ReflectionUtils.DescribedFieldFilter.
findField(Class<?>, ReflectionUtils.DescribedFieldFilter, boolean) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Finds the field matching the given ReflectionUtils.DescribedFieldFilter.
findField(Class<?>, ReflectionUtils.FieldFilter) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Finds the first field on the given class matching the given ReflectionUtils.FieldFilter.
findMethod(Class<?>, String) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Attempt to find a Method on the supplied class with the supplied name and no parameters.
findMethod(Class<?>, String, Class<?>...) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Attempt to find a Method on the supplied class with the supplied name and parameter types.
findRequiredField(Class<?>, String) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Finds the field of the given name on the given type.
findRequiredMethod(Class<?>, String, Class<?>...) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Returns the method with the given name of the given class and parameter types.
floatValue() - Method in class org.bardframework.commons.utils.Fraction
Gets the fraction as a float.
formatIp(String) - Static method in class org.bardframework.commons.utils.IpUtils
 
FOUR_FIFTHS - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 4/5.
Fraction - Class in org.bardframework.commons.utils
Fraction is a Number implementation that stores fractions accurately.
fromEpochMills(long) - Static method in class org.bardframework.commons.utils.DateTimeUtils
 
fromEpochMills(long, ZoneId) - Static method in class org.bardframework.commons.utils.DateTimeUtils
Obtains an instance of LocalDateTime using milliseconds from the epoch of 1970-01-01T00:00:00Z.

G

ge(long, long) - Static method in class org.bardframework.commons.utils.AssertionUtils
 
ge(long, long, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
 
getAllDeclaredMethods(Class<?>) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Get all declared methods on the leaf class and all superclasses.
getContainerCLassByField(Class<?>, String) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getContainerClassByGetter(Class<?>, String) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getCpuUsagePercent() - Static method in class org.bardframework.commons.utils.OsUtils
 
getCurrentMethod(StackTraceElement) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getDeclaredField(Class<?>, String) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getDeclaredMethods(Class<?>) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Variant of Class.getDeclaredMethods() that uses a local cache in order to avoid the JVM's SecurityManager check and new Method instances.
getDefaultCharset() - Static method in class org.bardframework.commons.utils.CharsetUtils
 
getDefaultEncoding() - Static method in class org.bardframework.commons.utils.CharsetUtils
Supplies the default encoding without using Charset.defaultCharset() and without accessing System.getProperty("file.encoding").
getDefaultLocale() - Static method in class org.bardframework.commons.utils.CharsetUtils
 
getDenominator() - Method in class org.bardframework.commons.utils.Fraction
Gets the denominator part of the fraction.
getDescription() - Method in interface org.bardframework.commons.utils.ReflectionUtils.DescribedFieldFilter
Returns the description of the field filter.
getDouble(Object) - Static method in class org.bardframework.commons.utils.NumberUtils
remove all non-digit character form string, if remain string not empty, return double value of that, else return 0
getField(Class<?>, String) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getField(Field, Object) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Get the field represented by the supplied field object on the specified target object.
getFieldAnnotationMap(Class<?>, Class<T>, boolean) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getFields(Class<?>, Class<T>, boolean) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getFileEncoding() - Static method in class org.bardframework.commons.utils.CharsetUtils
 
getFraction(double) - Static method in class org.bardframework.commons.utils.Fraction
Creates a Fraction instance from a double value.
getFraction(int, int) - Static method in class org.bardframework.commons.utils.Fraction
Creates a Fraction instance with the 2 parts of a fraction Y/Z.
getFraction(int, int, int) - Static method in class org.bardframework.commons.utils.Fraction
Creates a Fraction instance with the 3 parts of a fraction X Y/Z.
getFraction(String) - Static method in class org.bardframework.commons.utils.Fraction
Creates a Fraction from a String.
getGenericArgType(Class<?>, int) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getGetter(Class<?>, String) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getGetterMethod(Class<?>, String) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getGetterName(String, Class<?>) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getLastDigit(long, int) - Static method in class org.bardframework.commons.utils.NumberUtils
 
getLongList(String...) - Static method in class org.bardframework.commons.utils.OsUtils
 
getLongList(Collection<String>) - Static method in class org.bardframework.commons.utils.OsUtils
 
getNowUtcMills() - Static method in class org.bardframework.commons.utils.DateTimeUtils
 
getNumberArray(int, int, int) - Static method in class org.bardframework.commons.utils.OsUtils
 
getNumbers(String) - Static method in class org.bardframework.commons.utils.NumberUtils
 
getNumerator() - Method in class org.bardframework.commons.utils.Fraction
Gets the numerator part of the fraction.
getNumeric(Object) - Static method in class org.bardframework.commons.utils.NumberUtils
 
getNumeric(String) - Static method in class org.bardframework.commons.utils.NumberUtils
remove all non-digit character (not minus in start if string '-') form string, if remain string not empty, return long value of that, else return 0
getNumeric(Collection<String>) - Static method in class org.bardframework.commons.utils.NumberUtils
 
getPrimitiveDefault(Class<?>) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Get default value for a primitive type.
getProperNumerator() - Method in class org.bardframework.commons.utils.Fraction
Gets the proper numerator, always positive.
getPropertyValue(Object, String) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getProperWhole() - Method in class org.bardframework.commons.utils.Fraction
Gets the proper whole part of the fraction.
getReducedFraction(int, int) - Static method in class org.bardframework.commons.utils.Fraction
Creates a reduced Fraction instance with the 2 parts of a fraction Y/Z.
getReplacements() - Method in class org.bardframework.commons.utils.JarFileUtils.JarFileEntrySaver
 
getReplacements() - Method in class org.bardframework.commons.utils.JarFileUtils.JarTextFileExtractor
 
getSavePath() - Method in class org.bardframework.commons.utils.JarFileUtils.JarDirectoryExtractor
 
getSavePath() - Method in class org.bardframework.commons.utils.JarFileUtils.JarFileEntrySaver
 
getSavePath() - Method in class org.bardframework.commons.utils.JarFileUtils.JarTextFileExtractor
 
getSetter(Class<?>, String, Class<?>...) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getSetterName(String) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getSubTypeOf(String, Class<T>) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getSunEncoding() - Static method in class org.bardframework.commons.utils.CharsetUtils
 
getSupersOf(Class<?>, boolean, boolean, boolean) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
getUniqueDeclaredMethods(Class<?>) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Get the unique set of declared methods on the leaf class and all superclasses.
getUniqueDeclaredMethods(Class<?>, ReflectionUtils.MethodFilter) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Get the unique set of declared methods on the leaf class and all superclasses.
getZipDirectoryEntry() - Method in class org.bardframework.commons.utils.JarFileUtils.JarDirectoryExtractor
 
getZipEntry() - Method in class org.bardframework.commons.utils.JarFileUtils.JarFileEntrySaver
 
getZipEntry() - Method in class org.bardframework.commons.utils.JarFileUtils.JarTextFileExtractor
 
gt(long, long) - Static method in class org.bardframework.commons.utils.AssertionUtils
 
gt(long, long, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
 

H

handleInvocationTargetException(InvocationTargetException) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Handle the given invocation target exception.
handleReflectionException(Exception) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Handle the given reflection exception.
hashCode() - Method in class org.bardframework.commons.utils.Fraction
Gets a hashCode for the fraction.
hasText(String, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the given String contains valid text content; that is, it must not be null and must contain at least one non-whitespace character.
hasText(String, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the given String contains valid text content; that is, it must not be null and must contain at least one non-whitespace character.
hexEncode(byte[]) - Static method in class org.bardframework.commons.utils.EncodingUtils
 

I

ImageUtils - Class in org.bardframework.commons.utils
 
indexOf(byte[], byte[]) - Static method in class org.bardframework.commons.utils.BytesUtils
Returns the index within src of the first occurrence of the specified search bytes.
intValue() - Method in class org.bardframework.commons.utils.Fraction
Gets the fraction as an int.
invert() - Method in class org.bardframework.commons.utils.Fraction
Gets a fraction that is the inverse (1/fraction) of this one.
invokeMethod(Method, Object) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Invoke the specified Method against the supplied target object with no arguments.
invokeMethod(Method, Object, Object...) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Invoke the specified Method against the supplied target object with the supplied arguments.
IpUtils - Class in org.bardframework.commons.utils
 
isAssignable(Class<?>, Class<?>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that superType.isAssignableFrom(subType) is true.
isAssignable(Class<?>, Class<?>, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that superType.isAssignableFrom(subType) is true.
isAssignable(Class<?>, Class<?>, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that superType.isAssignableFrom(subType) is true.
isCglibRenamedMethod(Method) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Determine whether the given method is a CGLIB 'renamed' method, following the pattern "CGLIB$methodName$0".
isContainField(Set<String>, String) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
isEqualsMethod(Method) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Determine whether the given method is an "equals" method.
isExist(byte[], byte[]) - Static method in class org.bardframework.commons.utils.BytesUtils
 
isHashCodeMethod(Method) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Determine whether the given method is a "hashCode" method.
isInstanceOf(Class<?>, Object) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the provided object is an instance of the provided class.
isInstanceOf(Class<?>, Object, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the provided object is an instance of the provided class.
isInstanceOf(Class<?>, Object, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the provided object is an instance of the provided class.
isNotBlank(String, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the given String is not empty; that is, it must not be null and not the empty String.
isNotBlank(String, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the given String is not empty; that is, it must not be null and not the empty String.
isNull(Object, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an object is null.
isNull(Object, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an object is null.
isObjectMethod(Method) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Determine whether the given method is originally declared by Object.
isPublicStaticFinal(Field) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Determine whether the given field is a "public static final" constant.
isToStringMethod(Method) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Determine whether the given method is a "toString" method.
isTrue(boolean, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert a boolean expression, throwing an IllegalArgumentException if the expression evaluates to false.
isTrue(boolean, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert a boolean expression, throwing an IllegalArgumentException if the expression evaluates to false.

J

JarDirectoryExtractor(String, Path) - Constructor for class org.bardframework.commons.utils.JarFileUtils.JarDirectoryExtractor
 
JarFileEntrySaver(String, File) - Constructor for class org.bardframework.commons.utils.JarFileUtils.JarFileEntrySaver
 
JarFileEntrySaver(String, File, Map<byte[], byte[]>) - Constructor for class org.bardframework.commons.utils.JarFileUtils.JarFileEntrySaver
 
JarFileUtils - Class in org.bardframework.commons.utils
 
JarFileUtils() - Constructor for class org.bardframework.commons.utils.JarFileUtils
 
JarFileUtils.JarDirectoryExtractor - Class in org.bardframework.commons.utils
 
JarFileUtils.JarFileEntrySaver - Class in org.bardframework.commons.utils
 
JarFileUtils.JarModifier - Interface in org.bardframework.commons.utils
 
JarFileUtils.JarTextFileExtractor - Class in org.bardframework.commons.utils
 
JarTextFileExtractor(String, File) - Constructor for class org.bardframework.commons.utils.JarFileUtils.JarTextFileExtractor
 
JarTextFileExtractor(String, File, Map<String, String>) - Constructor for class org.bardframework.commons.utils.JarFileUtils.JarTextFileExtractor
 

L

longValue() - Method in class org.bardframework.commons.utils.Fraction
Gets the fraction as a long.
lowerCaseFirstLetter(String) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 

M

makeAccessible(Constructor<?>) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Make the given constructor accessible, explicitly setting it accessible if necessary.
makeAccessible(Field) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Make the given field accessible, explicitly setting it accessible if necessary.
makeAccessible(Method) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Make the given method accessible, explicitly setting it accessible if necessary.
makeCleanUrl(String...) - Static method in class org.bardframework.commons.utils.UrlUtils
 
matches(Field) - Method in interface org.bardframework.commons.utils.ReflectionUtils.FieldFilter
Determine whether the given field matches.
matches(Method) - Method in interface org.bardframework.commons.utils.ReflectionUtils.MethodFilter
Determine whether the given method matches.
methodToFieldName(Method) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
modify(File, List<JarFileUtils.JarModifier>) - Static method in class org.bardframework.commons.utils.JarFileUtils
 
moneyMask(double) - Static method in class org.bardframework.commons.utils.MoneyUtils
 
moneyMask(long) - Static method in class org.bardframework.commons.utils.MoneyUtils
 
MoneyUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.
multiplyBy(Fraction) - Method in class org.bardframework.commons.utils.Fraction
Multiplies the value of this fraction by another, returning the result in reduced form.

N

negate() - Method in class org.bardframework.commons.utils.Fraction
Gets a fraction that is the negative (-fraction) of this one.
newInstance(Class<T>) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
noNullElements(Object[], String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an array contains no null elements.
noNullElements(Object[], Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an array contains no null elements.
noNullElements(Collection<?>, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that a collection contains no null elements.
noNullElements(Collection<?>, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that a collection contains no null elements.
notEmpty(Object[], String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an array contains elements; that is, it must not be null and must contain at least one element.
notEmpty(Object[], Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an array contains elements; that is, it must not be null and must contain at least one element.
notEmpty(Collection<?>, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that a collection contains elements; that is, it must not be null and must contain at least one element.
notEmpty(Collection<?>, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that a collection contains elements; that is, it must not be null and must contain at least one element.
notEmpty(Map<?, ?>, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that a Map contains entries; that is, it must not be null and must contain at least one entry.
notEmpty(Map<?, ?>, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that a Map contains entries; that is, it must not be null and must contain at least one entry.
notNull(Object, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an object is not null.
notNull(Object, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an object is not null.
NumberUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.

O

ONE - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 1.
ONE_FIFTH - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 1/5.
ONE_HALF - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 1/2.
ONE_QUARTER - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 1/4.
ONE_THIRD - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 1/3.
org.bardframework.commons.utils - package org.bardframework.commons.utils
 
OsUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.

P

pow(int) - Method in class org.bardframework.commons.utils.Fraction
Gets a fraction that is raised to the passed in power.

R

rawDigest(String, byte[]) - Static method in class org.bardframework.commons.utils.DigestUtils
 
reduce() - Method in class org.bardframework.commons.utils.Fraction
Reduce the fraction to the smallest values for the numerator and denominator, returning the result.
ReflectionUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.
ReflectionUtils.DescribedFieldFilter - Interface in org.bardframework.commons.utils
A ReflectionUtils.FieldFilter that has a description.
ReflectionUtils.FieldCallback - Interface in org.bardframework.commons.utils
Callback interface invoked on each field in the hierarchy.
ReflectionUtils.FieldFilter - Interface in org.bardframework.commons.utils
Callback optionally used to filter fields to be operated on by a field callback.
ReflectionUtils.MethodCallback - Interface in org.bardframework.commons.utils
Action to take on each method.
ReflectionUtils.MethodFilter - Interface in org.bardframework.commons.utils
Callback optionally used to filter methods to be operated on by a method callback.
replace(byte[], byte[], byte[]) - Static method in class org.bardframework.commons.utils.BytesUtils
find and replace must have same size
replacements - Variable in class org.bardframework.commons.utils.JarFileUtils.JarFileEntrySaver
 
replacements - Variable in class org.bardframework.commons.utils.JarFileUtils.JarTextFileExtractor
 
resize(BufferedImage, int) - Static method in class org.bardframework.commons.utils.ImageUtils
resize image, keep aspect ratio
resize(BufferedImage, int, int) - Static method in class org.bardframework.commons.utils.ImageUtils
 
rethrowException(Throwable) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Rethrow the given exception, which is presumably the target exception of an InvocationTargetException.
rethrowRuntimeException(Throwable) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Rethrow the given exception, which is presumably the target exception of an InvocationTargetException.
returnTypeAndParameters(Method) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Returns a Stream of the return and parameters types of the given Method.

S

savePath - Variable in class org.bardframework.commons.utils.JarFileUtils.JarDirectoryExtractor
 
savePath - Variable in class org.bardframework.commons.utils.JarFileUtils.JarFileEntrySaver
 
savePath - Variable in class org.bardframework.commons.utils.JarFileUtils.JarTextFileExtractor
 
SerializationUtils - Class in org.bardframework.commons.utils
 
serialize(Serializable) - Static method in class org.bardframework.commons.utils.SerializationUtils
 
serialize(Serializable, OutputStream) - Static method in class org.bardframework.commons.utils.SerializationUtils
 
serializeAndEncodeObject(Serializable) - Static method in class org.bardframework.commons.utils.SerializationUtils
 
setField(Field, Object, Object) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Set the field represented by the supplied field object on the specified target object to the specified value.
setValue(Object, String, Object) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
sha(byte[]) - Static method in class org.bardframework.commons.utils.DigestUtils
 
sha(String) - Static method in class org.bardframework.commons.utils.DigestUtils
 
sha512(String) - Static method in class org.bardframework.commons.utils.DigestUtils
 
shallowCopyFieldState(Object, Object) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Given the source object and the destination, which must be the same class or a subclass, copy all fields, including inherited fields.
state(boolean, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert a boolean expression, throwing an IllegalStateException if the expression evaluates to false.
state(boolean, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert a boolean expression, throwing an IllegalStateException if the expression evaluates to false.
StringTemplateUtils - Class in org.bardframework.commons.utils
 
subtract(Fraction) - Method in class org.bardframework.commons.utils.Fraction
Subtracts the value of another fraction from the value of this one, returning the result in reduced form.

T

THREE_FIFTHS - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 3/5.
THREE_QUARTERS - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 3/4.
toCharset(String) - Static method in class org.bardframework.commons.utils.CharsetUtils
Returns a Charset for the named charset.
toCharset(Charset) - Static method in class org.bardframework.commons.utils.CharsetUtils
Returns the given Charset or the default Charset if the given Charset is null.
toChronoUnit(TimeUnit) - Static method in class org.bardframework.commons.utils.DateTimeUtils
 
toEpochMills(LocalDate) - Static method in class org.bardframework.commons.utils.DateTimeUtils
calculate milliseconds past from the epoch of 1970-01-01T00:00:00Z.
toEpochMills(LocalDateTime) - Static method in class org.bardframework.commons.utils.DateTimeUtils
calculatee milliseconds past from the epoch of 1970-01-01T00:00:00Z.
toEpochMills(OffsetDateTime) - Static method in class org.bardframework.commons.utils.DateTimeUtils
 
toInt(String, int) - Static method in class org.bardframework.commons.utils.NumberUtils
Convert a String to a int, returning a default value if the conversion fails.
toLocalString(LocalDate) - Static method in class org.bardframework.commons.utils.DateTimeUtils
convert date to string divided by '/'
toLocalString(LocalDateTime) - Static method in class org.bardframework.commons.utils.DateTimeUtils
convert date to string divided by '/'
toLong(String, long) - Static method in class org.bardframework.commons.utils.NumberUtils
Convert a String to a long, returning a default value if the conversion fails.
toProperString() - Method in class org.bardframework.commons.utils.Fraction
Gets the fraction as a proper String in the format X Y/Z.
toString() - Method in class org.bardframework.commons.utils.Fraction
Gets the fraction as a String.
toTimeUnit(ChronoUnit) - Static method in class org.bardframework.commons.utils.DateTimeUtils
 
TWO_FIFTHS - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 2/5.
TWO_QUARTERS - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 2/4.
TWO_THIRDS - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 2/3.

U

update(File, Map<String, byte[]>) - Static method in class org.bardframework.commons.utils.JarFileUtils
 
urlEncode(String) - Static method in class org.bardframework.commons.utils.EncodingUtils
 
urlEncode(String) - Static method in class org.bardframework.commons.utils.UrlUtils
Url encode a value using UTF-8 encoding.
urlEncodeValues(Map<String, String>) - Static method in class org.bardframework.commons.utils.UrlUtils
 
UrlUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.
USER_DECLARED_METHODS - Static variable in class org.bardframework.commons.utils.ReflectionUtils
Pre-built MethodFilter that matches all non-bridge non-synthetic methods which are not declared on java.lang.Object.

Y

YEAR_DURATION_MILLS - Static variable in class org.bardframework.commons.utils.DateTimeUtils
 

Z

ZERO - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 0.
zipDirectoryEntry - Variable in class org.bardframework.commons.utils.JarFileUtils.JarDirectoryExtractor
 
zipEntry - Variable in class org.bardframework.commons.utils.JarFileUtils.JarFileEntrySaver
 
zipEntry - Variable in class org.bardframework.commons.utils.JarFileUtils.JarTextFileExtractor
 
A B C D E F G H I J L M N O P R S T U Y Z 
All Classes All Packages