Package-level declarations
Platform information and other useful utilities. Includes basic program settings support at the Platform object (like loading and retrieving system settings).
Types
Link copied to clipboard
TODO.
Properties
Functions
Link copied to clipboard
Execute a list of code block collecting the exceptions they may throw, in case there is any error, it throws a MultipleException with all the thrown exceptions.
Link copied to clipboard
Link copied to clipboard
fun String.exec(workingDirectory: File = File(System.getProperty("user.dir")), timeout: Long = Long.MAX_VALUE, fail: Boolean = false): String
TODO Add use case and example in documentation. TODO Support multiple words parameters by processing " and '
fun List<String>.exec(workingDirectory: File = File(System.getProperty("user.dir")), timeout: Long = Long.MAX_VALUE, fail: Boolean = true): String
TODO.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
TODO.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Load a '*.properties' file from a URL transforming the content into a plain map. If the resource can not be found, a com.hexagontk.core.ResourceNotFoundException is thrown.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T : ResourceBundle> resourceBundle(locale: Locale = Locale.getDefault()): ResourceBundle
fun <T : ResourceBundle> resourceBundle(type: KClass<T>, locale: Locale = Locale.getDefault()): ResourceBundle
TODO.