niok-android
Module Contents
alltypes
Module Contents
java.nio.file.Path
Module Contents
val Path.absolutePathAsString: String
fun Path.appendBytes(array: ByteArray): Unit
fun Path.appendText(text: String, charset: Charset = Charsets.UTF_8): Unit
fun Path.copyRecursively(target: Path, overwrite: Boolean = false, onError: (Path, IOException) -> OnErrorAction = { _, exception -> throw exception }): Boolean
inline fun Path.copyTo(outputStream: OutputStream): Long
inline fun Path.copyTo(target: Path, vararg copyOptions: CopyOption): Path
inline fun Path.createDirectories(vararg fileAttributes: FileAttribute<*>): Path
inline fun Path.createDirectory(vararg fileAttributes: FileAttribute<*>): Path
inline fun Path.createDirectoryIfNotExists(vararg fileAttributes: FileAttribute<*>): Path
inline fun Path.createFile(vararg fileAttributes: FileAttribute<*>): Path
inline fun Path.createFileIfNotExists(vararg fileAttributes: FileAttribute<*>): Path
inline fun Path.createLink(link: Path): Path
inline fun Path.createSymbolicLink(link: Path, vararg fileAttributes: FileAttribute<*>): Path
inline fun Path.delete(): Unit
inline fun Path.deleteIfExists(): Boolean
fun Path.deleteRecursively(): Boolean
inline val Path.exists: Boolean
val Path.extension: String
val Path.fileNameAsString: String
val Path.fileNameWithoutExtension: String
inline val Path.fileStore: FileStore
inline fun Path.followSymbolicLink(): Path!
fun Path.forEachBlock(action: (buffer: ByteArray, bytesRead: Int) -> Unit): Unit
fun Path.forEachBlock(blockSize: Int, action: (buffer: ByteArray, bytesRead: Int) -> Unit): Unit
fun Path.forEachLine(charset: Charset = Charsets.UTF_8, action: (line: String) -> Unit): Unit
inline fun Path.getAttribute(attribute: String, vararg linkOptions: LinkOption): Any
inline fun <reified V : FileAttributeView> Path.getFileAttributeView(vararg linkOptions: LinkOption): V?
val Path.invariantSeparatorsPath: String
inline val Path.isDirectory: Boolean
inline fun Path.isDirectory(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): Boolean
inline val Path.isExecutable: Boolean
inline val Path.isHidden: Boolean
inline val Path.isReadable: Boolean
inline val Path.isRegularFile: Boolean
inline fun Path.isRegularFile(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): Boolean
val Path.isRooted: Boolean
inline fun Path.isSameFile(other: Path): Boolean
inline val Path.isSymbolicLink: Boolean
inline val Path.isWritable: Boolean
inline val Path.lastModifiedTime: FileTime
inline fun Path.lastModifiedTime(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): FileTime
inline fun Path.move(target: Path, vararg copyOptions: CopyOption): Path
val Path.nameWithoutExtension: String
inline fun Path.newBufferedReader(charset: Charset = Charsets.UTF_8): BufferedReader
inline fun Path.newBufferedWriter(charset: Charset = Charsets.UTF_8, vararg openOptions: OpenOption): BufferedWriter
inline fun Path.newByteChannel(vararg openOptions: OpenOption): SeekableByteChannel
inline fun Path.newByteChannel(openOptions: Set<OpenOption>, vararg fileAttributes: FileAttribute<*>): SeekableByteChannel
fun Path.newDirectory(dir: String, vararg fileAttributes: FileAttribute<*>): Path
fun Path.newFile(file: String, vararg fileAttributes: FileAttribute<*>): Path
inline fun Path.newInputStream(vararg openOptions: OpenOption): InputStream
inline fun Path.newOutputStream(vararg openOptions: OpenOption): OutputStream
inline val Path.notExists: Boolean
inline fun Path.notExists(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): Boolean
inline val Path.owner: UserPrincipal
inline fun Path.owner(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): UserPrincipal
inline val Path.posixFilePersmissions: Set<PosixFilePermission>
inline fun Path.posixFilePersmissions(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): MutableSet<PosixFilePermission!>!
inline fun Path.printWriter(charset: Charset = Charsets.UTF_8): PrintWriter
inline fun Path.probeContentType(): String
inline fun Path.readAllBytes(): ByteArray
inline fun Path.readAllLines(charset: Charset = Charsets.UTF_8): List<String>
inline fun <reified A : BasicFileAttributes> Path.readAttributes(vararg linkOptions: LinkOption): A
inline fun Path.readAttributes(attributes: String, vararg linkOptions: LinkOption): Map<String, Any>
inline fun Path.reader(charset: Charset = Charsets.UTF_8): InputStreamReader
inline fun Path.readSymbolicLink(): Path!
inline fun Path.readText(charset: Charset = Charsets.UTF_8): String
fun Path.relativeTo(other: Path): Path
fun Path.relativeToOrNull(other: Path): Path?
fun Path.relativeToOrSelf(other: Path): Path
inline fun Path.resolve(dir: String, first: String, vararg more: String): Path
inline fun Path.setAttribute(attribute: String, value: Any, vararg linkOptions: LinkOption): Path!
inline fun Path.setLastModifiedTime(fileTime: FileTime): Path!
inline fun Path.setPosixFilePermissions(perms: Set<PosixFilePermission>): Path!
inline val Path.size: Long
fun Path.toRelativeString(base: Path): String
inline fun <T> Path.useLines(charset: Charset = Charsets.UTF_8, block: (Sequence<String>) -> T): T
inline fun Path.writeBytes(array: ByteArray, vararg openOptions: OpenOption): Path
inline fun Path.writeLines(lines: Iterable<CharSequence>, charset: Charset = Charsets.UTF_8, vararg openOptions: OpenOption): Path
inline fun Path.writer(charset: Charset = Charsets.UTF_8): OutputStreamWriter
fun Path.writeText(text: String, charset: Charset = Charsets.UTF_8): Unit
package ch.tutteli.niok
Module Contents
java.nio.file.Path
Module Contents
val Path.absolutePathAsString: String
fun Path.appendBytes(array: ByteArray): Unit
fun Path.appendText(text: String, charset: Charset = Charsets.UTF_8): Unit
fun Path.copyRecursively(target: Path, overwrite: Boolean = false, onError: (Path, IOException) -> OnErrorAction = { _, exception -> throw exception }): Boolean
inline fun Path.copyTo(outputStream: OutputStream): Long
inline fun Path.copyTo(target: Path, vararg copyOptions: CopyOption): Path
inline fun Path.createDirectories(vararg fileAttributes: FileAttribute<*>): Path
inline fun Path.createDirectory(vararg fileAttributes: FileAttribute<*>): Path
inline fun Path.createDirectoryIfNotExists(vararg fileAttributes: FileAttribute<*>): Path
inline fun Path.createFile(vararg fileAttributes: FileAttribute<*>): Path
inline fun Path.createFileIfNotExists(vararg fileAttributes: FileAttribute<*>): Path
inline fun Path.createLink(link: Path): Path
inline fun Path.createSymbolicLink(link: Path, vararg fileAttributes: FileAttribute<*>): Path
inline fun Path.delete(): Unit
inline fun Path.deleteIfExists(): Boolean
fun Path.deleteRecursively(): Boolean
inline val Path.exists: Boolean
val Path.extension: String
val Path.fileNameAsString: String
val Path.fileNameWithoutExtension: String
inline val Path.fileStore: FileStore
inline fun Path.followSymbolicLink(): Path!
fun Path.forEachBlock(action: (buffer: ByteArray, bytesRead: Int) -> Unit): Unit
fun Path.forEachBlock(blockSize: Int, action: (buffer: ByteArray, bytesRead: Int) -> Unit): Unit
fun Path.forEachLine(charset: Charset = Charsets.UTF_8, action: (line: String) -> Unit): Unit
inline fun Path.getAttribute(attribute: String, vararg linkOptions: LinkOption): Any
inline fun <reified V : FileAttributeView> Path.getFileAttributeView(vararg linkOptions: LinkOption): V?
val Path.invariantSeparatorsPath: String
inline val Path.isDirectory: Boolean
inline fun Path.isDirectory(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): Boolean
inline val Path.isExecutable: Boolean
inline val Path.isHidden: Boolean
inline val Path.isReadable: Boolean
inline val Path.isRegularFile: Boolean
inline fun Path.isRegularFile(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): Boolean
val Path.isRooted: Boolean
inline fun Path.isSameFile(other: Path): Boolean
inline val Path.isSymbolicLink: Boolean
inline val Path.isWritable: Boolean
inline val Path.lastModifiedTime: FileTime
inline fun Path.lastModifiedTime(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): FileTime
inline fun Path.move(target: Path, vararg copyOptions: CopyOption): Path
val Path.nameWithoutExtension: String
inline fun Path.newBufferedReader(charset: Charset = Charsets.UTF_8): BufferedReader
inline fun Path.newBufferedWriter(charset: Charset = Charsets.UTF_8, vararg openOptions: OpenOption): BufferedWriter
inline fun Path.newByteChannel(vararg openOptions: OpenOption): SeekableByteChannel
inline fun Path.newByteChannel(openOptions: Set<OpenOption>, vararg fileAttributes: FileAttribute<*>): SeekableByteChannel
fun Path.newDirectory(dir: String, vararg fileAttributes: FileAttribute<*>): Path
fun Path.newFile(file: String, vararg fileAttributes: FileAttribute<*>): Path
inline fun Path.newInputStream(vararg openOptions: OpenOption): InputStream
inline fun Path.newOutputStream(vararg openOptions: OpenOption): OutputStream
inline val Path.notExists: Boolean
inline fun Path.notExists(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): Boolean
inline val Path.owner: UserPrincipal
inline fun Path.owner(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): UserPrincipal
inline val Path.posixFilePersmissions: Set<PosixFilePermission>
inline fun Path.posixFilePersmissions(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): MutableSet<PosixFilePermission!>!
inline fun Path.printWriter(charset: Charset = Charsets.UTF_8): PrintWriter
inline fun Path.probeContentType(): String
inline fun Path.readAllBytes(): ByteArray
inline fun Path.readAllLines(charset: Charset = Charsets.UTF_8): List<String>
inline fun <reified A : BasicFileAttributes> Path.readAttributes(vararg linkOptions: LinkOption): A
inline fun Path.readAttributes(attributes: String, vararg linkOptions: LinkOption): Map<String, Any>
inline fun Path.reader(charset: Charset = Charsets.UTF_8): InputStreamReader
inline fun Path.readSymbolicLink(): Path!
inline fun Path.readText(charset: Charset = Charsets.UTF_8): String
fun Path.relativeTo(other: Path): Path
fun Path.relativeToOrNull(other: Path): Path?
fun Path.relativeToOrSelf(other: Path): Path
inline fun Path.resolve(dir: String, first: String, vararg more: String): Path
inline fun Path.setAttribute(attribute: String, value: Any, vararg linkOptions: LinkOption): Path!
inline fun Path.setLastModifiedTime(fileTime: FileTime): Path!
inline fun Path.setPosixFilePermissions(perms: Set<PosixFilePermission>): Path!
inline val Path.size: Long
fun Path.toRelativeString(base: Path): String
inline fun <T> Path.useLines(charset: Charset = Charsets.UTF_8, block: (Sequence<String>) -> T): T
inline fun Path.writeBytes(array: ByteArray, vararg openOptions: OpenOption): Path
inline fun Path.writeLines(lines: Iterable<CharSequence>, charset: Charset = Charsets.UTF_8, vararg openOptions: OpenOption): Path
inline fun Path.writer(charset: Charset = Charsets.UTF_8): OutputStreamWriter
fun Path.writeText(text: String, charset: Charset = Charsets.UTF_8): Unit