skrypton-api / com.waicool20.skrypton.util / SystemUtils

SystemUtils

object SystemUtils

System utility functions

Properties

mainClassName

val mainClassName: String

Gets the name of the class which contains the main entry point function.

Functions

loadJarLibrary

fun loadJarLibrary(jar: Path): Unit

Load a Jar library into classpath.

fun loadJarLibrary(jars: List<Path>): Unit

Loads Jar libraries into classpath.

loadLibrary

fun loadLibrary(path: Path, loadDirectly: Boolean = false): Unit

Load a library from a given path.

fun loadLibrary(paths: List<Path>, loadDirectly: Boolean = false): Unit

Loads libraries from a given path.