Packages

trait PathFactory extends AnyRef

Converts paths provided in compiler options (e.g elements of -classpath or the target directory of -d) to an AbstractFile.

Source
PathFactory.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PathFactory
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract 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.

  2. abstract 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