klib / klib.extensions

Package klib.extensions

Extensions for External Classes

java.io.File

java.io.InputStream

java.lang.System

java.net.URL

kotlin.Any

kotlin.Array

kotlin.Boolean

kotlin.Byte

kotlin.ByteArray

kotlin.Char

kotlin.collections.List

kotlin.collections.Map

kotlin.collections.MutableList

kotlin.collections.MutableMap

kotlin.Double

kotlin.Function0

kotlin.Int

kotlin.IntArray

kotlin.Pair

kotlin.random.Random

kotlin.String

net.jemzart.jsonkraken.JsonArray

net.jemzart.jsonkraken.JsonObject

Functions

copyFrom

Utility function to copy properties from one object to another using reflections

fun <T : Any, R : Any> T.copyFrom(fromObject: R, vararg props: KProperty<*>): Unit