Package org.openrs2.util.io

Types

Link copied to clipboard
class DeterministicJarOutputStream : JarOutputStream
Link copied to clipboard
class SkipOutputStream(out: OutputStream, skipBytes: Long) : OutputStream

Functions

Link copied to clipboard
inline fun <T> Path.atomicWrite(f: (Path) -> T): T
Link copied to clipboard
fun InputStream.contentEquals(other: InputStream): Boolean
Link copied to clipboard
fun Path.fsync()
Link copied to clipboard
fun Path.recursiveCopy(    destination: Path,     visitOptions: Array<FileVisitOption> = emptyArray(),     copyOptions: Array<CopyOption> = emptyArray())
Link copied to clipboard
fun Path.recursiveEquals(    other: Path,     linkOptions: Array<LinkOption> = emptyArray(),     openOptions: Array<OpenOption> = emptyArray(),     filter: (Path) -> Boolean = { true }): Boolean
Link copied to clipboard
inline fun <T> Path.useAtomicBufferedWriter(vararg options: OpenOption, f: (BufferedWriter) -> T): T
inline fun <T> Path.useAtomicBufferedWriter(    cs: Charset,     vararg options: OpenOption,     f: (BufferedWriter) -> T): T
Link copied to clipboard
inline fun <T> Path.useAtomicOutputStream(vararg options: OpenOption, f: (OutputStream) -> T): T
Link copied to clipboard
inline fun <T> useTempFile(    prefix: String? = null,     suffix: String? = null,     vararg attributes: FileAttribute<*>,     f: (Path) -> T): T
inline fun <T> Path.useTempFile(    prefix: String? = null,     suffix: String? = null,     vararg attributes: FileAttribute<*>,     f: (Path) -> T): T

Properties

Link copied to clipboard
val JarInputStream.entries: Sequence<JarEntry>