AbstractFile

dotty.tools.io.AbstractFile
See theAbstractFile companion class
object AbstractFile

An abstraction over files for use in the reflection/compiler libraries.

''Note: This library is considered experimental and should not be used unless you know what you are doing.''

Attributes

Authors:

Philippe Altherr

Version

1.0, 23/03/2004

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

If the specified File exists and is either a directory or a readable zip or jar archive, returns an abstract directory backed by it. Otherwise, returns null.

If the specified File exists and is either a directory or a readable zip or jar archive, returns an abstract directory backed by it. Otherwise, returns null.

Attributes

def getFile(path: JPath): AbstractFile
def getFile(path: Path): AbstractFile

If the specified File exists and is a regular file, returns an abstract regular file backed by it. Otherwise, returns null.

If the specified File exists and is a regular file, returns an abstract regular file backed by it. Otherwise, returns null.

Attributes

def getURL(url: URL): AbstractFile

If the specified URL exists and is a regular file or a directory, returns an abstract regular file or an abstract directory, respectively, backed by it. Otherwise, returns null.

If the specified URL exists and is a regular file or a directory, returns an abstract regular file or an abstract directory, respectively, backed by it. Otherwise, returns null.

Attributes