Skip to content

5. Utilities

Mihail Varbanov edited this page Apr 11, 2022 · 2 revisions

Crypt Utilities

AESCrypt

Encrypts/decrypts string data using AES algorithm.

RSACrypt

Encrypts/decrypts string data using RSA algorithm.

Image Utilities

ImageUtils

Utility to draw text over an image and to save it to the local disk.

Other Utilities

StringUtils

Miscellaneous utilities for working with strings like string capitalization, generating full name from components, phone or email validation, etc.

CollectionUtils

Utilities for working with collections, checking empty state, etc.

ListUtils

Utilities for working with lists, mainly targeting null values handling.

SetUtils

Utilities for working with sets, mainly targeting null values handling.

MapUtils

Utilities for working with maps, mainly targeting null values handling.

ColorUtils

Utilities for creating color from hexadecimal string and vice versa.

AppVersion

Utilities for working with application versions - retrieving the major version, comparing versions, etc.

UrlUtils

Utilities for detecting PDF HTTP urls that cannot be handled properly as embedded web content on Android and need to be launched in an external browser.

LocationUtils

Utilities for working with locations, currently only evaluating distance between two lat/lng locations.

JsonUtils

Various utilities for encoding/decoding JSON content and ensuring the expected type.

AppToast

Utility for displaying toast messages in a standardized way.

MapPathKey

Utility for accessing embedded maps content with paths keys.

SortUtils

Utilities for sorting and comparing arbitrary types of nullable values.

GeometryUtils

Utilities for size scaling.

BoolExpr

Utility for evaluating boolean expressions represented as embedded arrays. Used to evaluate Flex UI service rules.

AppBundle

Utilities for accessing application bundle resources.

HtmlUtils

Utility for generating HTML content from plain text.

DateTimeUtils

Utilities for working with date and time - parsing, converting, evaluating, etc.

Pair

Helper class to hold a pair of values.