Package com.hexagonkt.core
JVM information and other useful utilities.
Classpath URLs in native images
To use the 'classpath' URL scheme on GraalVM native images, the native-image
command requires to add the Classpath handler manually with the --enable-url-protocols=classpath
parameter.
Flags (System Properties)
DISABLE_CHECKS: set to true to disable some checks in order to shave a few ms. in production. Do not enable it in application development and turn it on only when the application is extensively tested.
Types
Exception with a numeric code.
TODO.
Exception with a list of causes. Cause is null
as it can't be tell which one of the list is the cause.
Functions
Transform the target string from camel case to snake case.
Decode this base64 encoded string.
Encode the content of this byteArray to base64.
Encode this string to base64.
TODO.
TODO Add use case and example in documentation. TODO Support multiple words parameters by processing " and '
TODO.
TODO.
TODO.
Return the stack trace array of the frames that starts with the given prefix.
Filter the target string substituting each key by its value. The keys format resembles Mustache's one: {{key}}
and all occurrences are replaced by the supplied value.
TODO.
Check if a port is already opened.
TODO.
TODO.
TODO.
Transform the target string from snake case to camel case.
TODO.
Convert a date to a local date.
Parse a date from a formatted integer with this format: YYYYMMDD
.
Convert a date to a local date time.
Parse a date time from a formatted number with this format: YYYYMMDDHHmmss
.
Parse a time from a formatted integer with this format: HHmmssSSS
.
Convert a date to an integer with the following format: YYYYMMDD
.
Convert a date time to a number with the following format: YYYYMMDDHHmmss
.
Convert a time to an integer with the following format: HHmmssSSS
.