- FileCursor - Class in pl.jalokim.utils.file
-
This class is useful for read next line, can check that file contains next line.
- FileCursor(String) - Constructor for class pl.jalokim.utils.file.FileCursor
-
Create instance of FileCursor.
- FileException - Exception in pl.jalokim.utils.file
-
Wrapper class for IOException types.
- FileException(IOException) - Constructor for exception pl.jalokim.utils.file.FileException
-
- FileUtils - Class in pl.jalokim.utils.file
-
Useful class for Files.
- filter(Predicate<T>) - Method in class pl.jalokim.utils.collection.Elements
-
- filterToList(Collection<T>, Predicate<T>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
-
This method get some collection and filter expected elements and put them to new List.
- filterToList(Collection<T>, Predicate<T>, Function<T, R>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
-
This method get some collection and filter expected elements and map them to new type and put results to new List.
- filterToList(Predicate<T>, T...) - Static method in class pl.jalokim.utils.collection.CollectionUtils
-
This method get some collection and filter expected elements and put them to new List.
- filterToList(Predicate<T>, Function<T, R>, T...) - Static method in class pl.jalokim.utils.collection.CollectionUtils
-
This method get some array and filter expected elements and map them to new type and put results to new List.
- filterToSet(Collection<T>, Predicate<T>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
-
This method get some collection and filter expected elements and put them to new set.
- filterToSet(Collection<T>, Predicate<T>, Function<T, R>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
-
This method get some collection and filter expected elements and map them to new type and put results to new Set.
- fromClassPath(String) - Static method in class pl.jalokim.utils.template.TemplateAsText
-
Load text with placeholders from classpath.
- fromClassPath(String, boolean) - Static method in class pl.jalokim.utils.template.TemplateAsText
-
Load text with placeholders from classpath and set flag for throwExceptionForNotResolved.
- fromFile(String) - Static method in class pl.jalokim.utils.template.TemplateAsText
-
Load text with placeholders from file from certain file path.
- fromFile(String, boolean) - Static method in class pl.jalokim.utils.template.TemplateAsText
-
Load text with placeholders from file from certain file path and set flag for throwExceptionForNotResolved.
- fromText(String) - Static method in class pl.jalokim.utils.template.TemplateAsText
-
Load text with placeholders from simple String object.
- fromText(String, boolean) - Static method in class pl.jalokim.utils.template.TemplateAsText
-
* Load text with placeholders from simple String object and set flag for throwExceptionForNotResolved.
- generateProbabilityArray(int) - Method in class pl.jalokim.utils.random.RandomUtilImpl
-
- getAllChildClassesForClass(Class<T>, String, boolean) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It will search for all classes which inherit from provided super type.
- getCurrentLine() - Method in class pl.jalokim.utils.file.FileCursor
-
- getCurrentTemplateText() - Method in class pl.jalokim.utils.template.TemplateAsText
-
Returns value for already resolved placeholders.
- getField(Object, String) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
Returns lang.reflect.Field for given target object and fieldName.
- getField(Class<?>, String) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
Returns lang.reflect.Field for given target class and fieldName.
- getFirst(List<T>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
-
It returns first element from list if present.
- getLast(List<T>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
-
It returns last element from list if present.
- getLastIndex(Collection<?>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
-
It returns last index from list.
- getLastIndex(Object[]) - Static method in class pl.jalokim.utils.collection.CollectionUtils
-
It returns last index from array.
- getLineNumber() - Method in class pl.jalokim.utils.file.FileCursor
-
First line number will be equals 1.
- getMethod(Object, String, Class<?>...) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It returns method for given target object,
- getMethod(Class<?>, String, Class<?>...) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It returns method for given target object,
- getParametrizedType(Field, int) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It returns a type of generic field by given index.
- getParametrizedType(Object, int) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It returns a type of generic object by given index.
- getParametrizedType(Class<?>, int) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It returns a type of generic class by given index.
- getTypeOfArrayField(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
Return type of field which is expected to be array field.
- getValueForStaticField(Class, String) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
-
It gets value for static field by name from target class.
- getValueOfField(Object, String) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
-
It gets value for given field name from target object.
- getValueOfField(Object, Class, String) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
-
It gets value for given field name from target object.
- intersection(Collection<E>, Collection<E>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
-
It return intersection for two given collections.
- InvokableReflectionUtils - Class in pl.jalokim.utils.reflection
-
- invokeMethod(Object, String, List<Class<?>>, List<Object>) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
-
Invokes first match method in hierarchy of target object which has arguments with explicitly provided
types, and invoke method with list of arguments.
- invokeMethod(Object, String, List<Object>) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
-
Invokes first match method in hierarchy of target object which has arguments with expected
types, and invokes method with list of arguments.
- invokeMethod(Object, String, Object...) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
-
Invoke first match method in hierarchy of target object which has arguments with expected
types, and invokes method with array of arguments.
- invokeMethod(Object, Class<?>, String, List<Object>) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
-
Invoke first match method in hierarchy starting from target class, it invoke on target object which has arguments with expected
types, and invokes method with list of arguments.
- invokeMethod(Object, Class<?>, String, Object...) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
-
Invoke first match method in hierarchy starting from target class, it invoke on target object which has arguments with expected
types, and invokes method with list of arguments.
- invokeMethod(Object, Class<?>, String, List<Class<?>>, List<Object>) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
-
Invokes first match method in hierarchy starting from target class, it invoke on target object which has arguments with explicitly provided
types, and invoke method with list of arguments.
- invokeStaticMethod(Class<?>, String, List<Class<?>>, List<Object>) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
-
It will search for first match static method, it will start searching from target class.
- invokeStaticMethod(Class<?>, String, List<Object>) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
-
It will search for first match static method, it will start searching from target class.
- invokeStaticMethod(Class<?>, String, Object...) - Static method in class pl.jalokim.utils.reflection.InvokableReflectionUtils
-
It will search for first match static method, it will start searching from target class.
- isArrayType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given field is array type.
- isArrayType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given class is array type.
- isBlank(String) - Static method in class pl.jalokim.utils.string.StringUtils
-
If whole text contains only white signs then return true
- isCollectionType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given field is collection type.
- isCollectionType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given class is collection type.
- isEmpty(List<T>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
-
It returns true when list is null or empty.
- isEmpty(String) - Static method in class pl.jalokim.utils.string.StringUtils
-
Check that text is empty or null.
- isEnumType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given field is simple enum type.
- isEnumType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given class is simple enum type.
- isHavingElementsType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given field is array or collection type.
- isHavingElementsType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given class is array or collection type.
- isLastIndex(List<?>, int) - Static method in class pl.jalokim.utils.collection.CollectionUtils
-
check that given index is last in certain list.
- isLastIndex(Object[], int) - Static method in class pl.jalokim.utils.collection.CollectionUtils
-
check that given index is last in certain array.
- isMapType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given field is map type.
- isMapType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given class is map type.
- isNotBlank(String) - Static method in class pl.jalokim.utils.string.StringUtils
-
If whole text doesn't contain only white signs then return true
- isNotEmpty(List<T>) - Static method in class pl.jalokim.utils.collection.CollectionUtils
-
It returns true only when list is not null, and if not empty.
- isNotEmpty(String) - Static method in class pl.jalokim.utils.string.StringUtils
-
Check that text is not empty.
- isNumberType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given field is number type.
- isNumberType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given class is number type.
- isSimpleType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given field is simple type.
- isSimpleType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given class is simple type.
- isTextType(Field) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given field is simple string type.
- isTextType(Class<?>) - Static method in class pl.jalokim.utils.reflection.MetadataReflectionUtils
-
It checks that given class is simple string type.