A utility library for Java SE.
OmniUtils is a set of Java SE libraries that includes JDK 8 collectors for working with streams (such as ForEachBatchCollector
and ReversedStreamCollector
), functional-like predicates (such as isAnyEmpty
, isOneOf
, and coalesce
), reflection tools (such as findField
, listAnnotatedFields
, and closestMatchingMethod
), security functions (such as getCertificateChainFromServer
and generateRandomRSAKeys
), image tools (such as cropImage
, toJpg
, toPng
and progressiveBilinearDownscale
) and much more!
Maven users can add OmniFaces by adding the following Maven coordinates to the pom.xml of a project:
<dependency>
<groupId>org.omnifaces</groupId>
<artifactId>omniutils</artifactId>
<version>0.12</version>
</dependency>
Note that Java 11 support is introduced in version 0.12
. If you're still on Java 8, then use version 0.11
instead.
OmniUtils is still in its early stages of development