object DefaultPathFactory extends PathFactory
- Source
- PathFactory.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DefaultPathFactory
- PathFactory
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
getDirectory(path: String): AbstractFile
Convert the given path into an
AbstractFile
representing an existing directory-like structure, such as a directory on disk, a JAR, or aVirtualDirectory
.Convert the given path into an
AbstractFile
representing an existing directory-like structure, such as a directory on disk, a JAR, or aVirtualDirectory
. Calling this method will _not_ create the directory if it is absent.- path
The string representing the directory-like path
- returns
the
AbstractFile
, ornull
if the path does not exist or does not represent a directory.
- Definition Classes
- DefaultPathFactory → PathFactory
-
def
getFile(path: String): AbstractFile
Convert the given path into an
AbstractFile
representing an file.Convert the given path into an
AbstractFile
representing an file.- path
The string representing the file path
- returns
the
AbstractFile
- Definition Classes
- DefaultPathFactory → PathFactory
The Scala compiler and reflection APIs.