graphmine-util / io.github.sof3.graphmine.util / KtsLoader
object KtsLoader
State object to ensure system properties are set before loading a script
| load | fun <R> load(reader: Reader): RLoads a script from a reader |
| loadCache | fun <T> loadCache(md5: ByteArray, cacheFile: File, rVersion: Int, read: (DataInputStream) -> T): T? |
| loadSerializable | fun <T : KtsBin<T, F>, F : Factory<T, F>> loadSerializable(factory: F, fis: InputStream, path: String, cacheDir: File, rVersion: Int): TLoads a .kts file, optionally from cache and stores to cache |
| writeCache | fun writeCache(cacheFile: File, md5: ByteArray, rVersion: Int, value: KtsBin<*, *>): Unit |