class File extends Serializable with Comparable[File]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- File
- Comparable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canExecute(): Boolean
- def canRead(): Boolean
- def canWrite(): Boolean
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compareTo(file: File): Int
- Definition Classes
- File → Comparable
- def createNewFile(): Boolean
- def delete(): Boolean
- def deleteOnExit(): Unit
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
- Definition Classes
- File → AnyRef → Any
- def exists(): Boolean
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getAbsoluteFile(): File
- def getAbsolutePath(): String
- def getCanonicalFile(): File
- Annotations
- @throws(classOf[IOException])
- def getCanonicalPath(): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getName(): String
- def getParent(): String
- def getParentFile(): File
- def getPath(): String
- def hashCode(): Int
- Definition Classes
- File → AnyRef → Any
- def isAbsolute(): Boolean
- def isDirectory(): Boolean
- def isFile(): Boolean
- def isHidden(): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lastModified(): Long
- def length(): Long
- def list(filter: FilenameFilter): Array[String]
- def list(): Array[String]
- def listFiles(filter: FileFilter): Array[File]
- def listFiles(filter: FilenameFilter): Array[File]
- def listFiles(): Array[File]
- def mkdir(): Boolean
- def mkdirs(): Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def renameTo(dest: File): Boolean
- def setExecutable(executable: Boolean, ownerOnly: Boolean): Boolean
- def setExecutable(executable: Boolean): Boolean
- def setLastModified(time: Long): Boolean
- def setReadOnly(): Boolean
- def setReadable(readable: Boolean, ownerOnly: Boolean): Boolean
- def setReadable(readable: Boolean): Boolean
- def setWritable(writable: Boolean, ownerOnly: Boolean = true): Boolean
- def setWritable(writable: Boolean): Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toPath(): Path
- def toString(): String
- Definition Classes
- File → AnyRef → Any
- def toURI(): URI
- def toURL(): URL
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()