File

PosixLikeIO.File
See theFile companion object
class File(val path: String)

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def close(): Unit
override def finalize(): Unit

Called by the garbage collector on the receiver object when there are no more references to the object.

Called by the garbage collector on the receiver object when there are no more references to the object.

The details of when and if the finalize method is invoked, as well as the interaction between finalize and non-local returns and exceptions, are all platform dependent.

Attributes

Note

not specified by SLS as a member of AnyRef

Definition Classes
Object
def isOpened: Boolean
def open(options: StandardOpenOption*): File
def read(buffer: ByteBuffer): Future[Int]
def readString(size: Int, charset: Charset): Future[String]
def write(buffer: ByteBuffer): Future[Int]
def writeString(s: String, charset: Charset): Future[Int]

Concrete fields

val path: String