Index

A B C D E F G H I J L M N O R S T U Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

accessibleConstructor(Class<T>, Class<?>...) - Static method in class org.bardframework.commons.utils.ReflectionUtils
Obtain an accessible constructor for the given class and parameters.
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.
AssertionUtils() - Constructor for class org.bardframework.commons.utils.AssertionUtils
 

B

BytesUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari.
BytesUtils() - Constructor for class org.bardframework.commons.utils.BytesUtils
 

C

CharsetUtils - Class in org.bardframework.commons.utils
Demonstrate default Charset-related details.
CharsetUtils() - Constructor for class org.bardframework.commons.utils.CharsetUtils
 
collectionSplit(List, int) - Static method in class org.bardframework.commons.utils.OsUtils
 
COPYABLE_FIELDS - Static variable in class org.bardframework.commons.utils.ReflectionUtils
Pre-built FieldFilter that matches all non-static, non-final fields.

D

DateTimeUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.
DateTimeUtils() - Constructor for class org.bardframework.commons.utils.DateTimeUtils
 
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<?>) - Static method in class org.bardframework.commons.utils.SerializationUtils
 
diffDays(long, long) - Static method in class org.bardframework.commons.utils.DateTimeUtils
 
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
 
DigestUtils() - Constructor for class org.bardframework.commons.utils.DigestUtils
 
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.
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
 
EncodingUtils() - Constructor for class org.bardframework.commons.utils.EncodingUtils
 
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.
EncryptionUtil() - Constructor for class org.bardframework.commons.utils.EncryptionUtil
 

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.
formatIp(String) - Static method in class org.bardframework.commons.utils.IpUtils
 
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
 
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
 
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
 
getNowUtc() - 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
 
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.
getPropertyValue(Object, String) - Static method in class org.bardframework.commons.utils.ReflectionUtils
 
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
 
getTodayUtc() - Static method in class org.bardframework.commons.utils.DateTimeUtils
 
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.
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
 
ImageUtils() - Constructor for class org.bardframework.commons.utils.ImageUtils
 
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.
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
 
IpUtils() - Constructor for class org.bardframework.commons.utils.IpUtils
 
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

leftDays(long) - Static method in class org.bardframework.commons.utils.DateTimeUtils
 
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.
MoneyUtils() - Constructor for class org.bardframework.commons.utils.MoneyUtils
 

N

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.
NumberUtils() - Constructor for class org.bardframework.commons.utils.NumberUtils
 

O

ONE_DAY_MILLS - Static variable in class org.bardframework.commons.utils.DateTimeUtils
 
ONE_HOUR_MILLS - Static variable in class org.bardframework.commons.utils.DateTimeUtils
 
ONE_MINUTE_MILLS - Static variable in class org.bardframework.commons.utils.DateTimeUtils
 
ONE_MONTH_MILLS - Static variable in class org.bardframework.commons.utils.DateTimeUtils
 
ONE_SECOND_MILLS - Static variable in class org.bardframework.commons.utils.DateTimeUtils
 
ONE_WEEK_MILLS - Static variable in class org.bardframework.commons.utils.DateTimeUtils
 
ONE_YEAR_MILLS - Static variable in class org.bardframework.commons.utils.DateTimeUtils
 
org.bardframework.commons.utils - package org.bardframework.commons.utils
 
OsUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.
OsUtils() - Constructor for class org.bardframework.commons.utils.OsUtils
 

R

rawDigest(String, byte[]) - Static method in class org.bardframework.commons.utils.DigestUtils
 
ReflectionUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.
ReflectionUtils() - Constructor for class org.bardframework.commons.utils.ReflectionUtils
 
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.
remainDays(long) - Static method in class org.bardframework.commons.utils.DateTimeUtils
 
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
 
SerializationUtils() - Constructor for class org.bardframework.commons.utils.SerializationUtils
 
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
 
StringTemplateUtils() - Constructor for class org.bardframework.commons.utils.StringTemplateUtils
 

T

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.
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
 
toEpochMills(LocalDateTime, ZoneOffset) - 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.
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.

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.
UrlUtils() - Constructor for class org.bardframework.commons.utils.UrlUtils
 
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.

Z

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 R S T U Z 
All Classes and Interfaces|All Packages|Constant Field Values