Packages

o

scala.tools.nsc.settings

DefaultPathFactory

object DefaultPathFactory extends PathFactory

Source
PathFactory.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultPathFactory
  2. PathFactory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. 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 a VirtualDirectory.

    Convert the given path into an AbstractFile representing an existing directory-like structure, such as a directory on disk, a JAR, or a VirtualDirectory. Calling this method will _not_ create the directory if it is absent.

    path

    The string representing the directory-like path

    returns

    the AbstractFile, or null if the path does not exist or does not represent a directory.

    Definition Classes
    DefaultPathFactoryPathFactory
  2. 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
    DefaultPathFactoryPathFactory