Package-level declarations

Functions

Link copied to clipboard
fun Path.atomicMoveTo(target: Path): Path

Moves this path to target, replacing target if it already exists.

Link copied to clipboard
fun clipboardCopyAction(image: NativeImage): Runnable
Link copied to clipboard
fun clipboardSet(image: NativeImage): Boolean
Link copied to clipboard
suspend fun File.createFont(fontFormat: Int = Font.TRUETYPE_FONT): Font
suspend fun InputStream.createFont(fontFormat: Int = Font.TRUETYPE_FONT): Font
Link copied to clipboard

Creates a ZIP file from multiple files (flatten)

Link copied to clipboard
fun BufferedSource.ensurePngOrConvertJpeg(): BufferedSource
Link copied to clipboard
fun extractZip(zipFile: File, folder: File)
fun extractZip(zipFile: File, folder: Path)

Extracts a ZIP file to a specified folder

fun extractZip(zipStream: InputStream, folder: File)
fun extractZip(zipStream: InputStream, folder: Path)

Extracts a ZIP archive from an InputStream to a specified folder and close it

Link copied to clipboard
Link copied to clipboard
fun InputStream.readText(charset: Charset = Charsets.UTF_8): String
Link copied to clipboard

Find resource

Link copied to clipboard

Converts resource to string

Link copied to clipboard
fun Vec3.toJsonArray(): JsonArray
Link copied to clipboard
fun Vec3.toJsonObject(): JsonObject