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.
- Version
1.0, 23/03/2004
- Alphabetic
- By Inheritance
- AbstractFile
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getDirectory(file: File): AbstractFile
If the specified File exists and is either a directory or a readable zip or jar archive, returns an abstract directory backed by it.
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
. -
def
getDirectory(path: Path): AbstractFile
Returns "getDirectory(new File(path))".
-
def
getFile(file: File): AbstractFile
If the specified File exists and is a regular file, returns an abstract regular file backed by it.
If the specified File exists and is a regular file, returns an abstract regular file backed by it. Otherwise, returns
null
. - def getFile(path: Path): AbstractFile
-
def
getFile(path: String): AbstractFile
Returns "getFile(new File(path))".
- def getResources(url: URL): AbstractFile
-
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.
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
. -
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()