Core
Module core¶
This module holds utilities used in other libraries of the toolkit. Check the packages' documentation for more details. You can find a quick recap of the main features in the sections below.
Install the Dependency¶
This module is not meant to be imported directly. It will be included by using any other part of the toolkit. However, if you only want to use the utilities, logging, etc. (i.e., for a desktop application), you can import it with the following code:
1 2 3 4 5 |
|
1 2 3 4 5 |
|
Package com.hexagontk.core¶
Platform information and other useful utilities. Includes basic program settings support at the Platform object (like loading and retrieving system settings).
Provides a logging management capabilities abstracting the application from logging libraries.
The following code block shows the most common use cases for the logging utilities:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|
By default, Hexagon uses the System.Logger class.
Package com.hexagontk.core.media¶
Media types definitions and constants for default media types.
Package com.hexagontk.core.security¶
Cryptography and key stores utilities.
Package com.hexagontk.core.text¶
Text utilities to allow the use of ANSI escape codes among other features.