FileScope

open class FileScope(file: File) : File

Inheritors

Constructors

Link copied to clipboard
constructor(file: File)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun canExecute(): Boolean
Link copied to clipboard
open fun canRead(): Boolean
Link copied to clipboard
open fun canWrite(): Boolean
Link copied to clipboard
open operator override fun compareTo(other: File): Int
Link copied to clipboard
Link copied to clipboard
open fun delete(): Boolean
Link copied to clipboard
open fun deleteOnExit()
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open fun exists(): Boolean
Link copied to clipboard
fun file(name: String, block: FileScope.() -> Unit = {}): FileScope
Link copied to clipboard
open fun getAbsoluteFile(): File
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getFreeSpace(): Long
Link copied to clipboard
open fun getName(): String
Link copied to clipboard
open fun getParent(): String
Link copied to clipboard
open fun getParentFile(): File
Link copied to clipboard
open fun getTotalSpace(): Long
Link copied to clipboard
open fun getUsableSpace(): Long
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open fun isAbsolute(): Boolean
Link copied to clipboard
open fun isDirectory(): Boolean
Link copied to clipboard
open fun isFile(): Boolean
Link copied to clipboard
open fun isHidden(): Boolean
Link copied to clipboard
open fun lastModified(): Long
Link copied to clipboard
open fun length(): Long
Link copied to clipboard
open fun list(): Array<String>
Link copied to clipboard
open fun listFiles(): Array<File>
open fun listFiles(p0: FileFilter): Array<File>
Link copied to clipboard
open fun mkdir(): Boolean
Link copied to clipboard
open fun mkdirs(): Boolean
Link copied to clipboard
open fun renameTo(p0: File): Boolean
Link copied to clipboard
fun File.root(name: String, block: DirScope.() -> Unit = {}): DirScope
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setReadable(p0: Boolean): Boolean
open fun setReadable(p0: Boolean, p1: Boolean): Boolean
Link copied to clipboard
open fun setReadOnly(): Boolean
Link copied to clipboard
open fun setWritable(p0: Boolean): Boolean
open fun setWritable(p0: Boolean, p1: Boolean): Boolean
Link copied to clipboard
open fun toPath(): Path
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun toURI(): URI
Link copied to clipboard
open fun toURL(): URL