AbstractFile

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.''

Authors

Philippe Altherr

Version

1.0, 23/03/2004

Companion
class
class Object
trait Matchable
class Any

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.

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.

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.