org.specs2.io

FilePath

case class FilePath(dir: DirectoryPath, name: FileName) extends Product with Serializable

Representation of a file path, absolute or relative

It has a parent directory and a name

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FilePath
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FilePath(dir: DirectoryPath, name: FileName)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def asAbsolute: FilePath

    returns

    an absolute file path

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def asRelative: FilePath

    returns

    a relative file path

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val dir: DirectoryPath

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fromRoot: FilePath

    returns

    return the portion of the file path that starts from the rootname

  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def isAbsolute: Boolean

    returns

    true if the file path is absolute

  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def isRelative: Boolean

    returns

    true if this file path is relative

  18. val name: FileName

  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def path: String

    returns

    the path for this file as a / separated string

  23. def rebaseTo(other: DirectoryPath): FilePath

    returns

    a file path with the same name but in another directory path

  24. def relativeTo(other: DirectoryPath): FilePath

    returns

    the portion of a file path that is relative to another

  25. def root: DirectoryPath

    returns

    the root directory containing this file

  26. def setAbsolute(absolute: Boolean): FilePath

    returns

    modify the absolute status of this file path

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toDirectoryPath: DirectoryPath

    returns

    interpret this FilePath as a DirectoryPath

  29. def toFile: File

    returns

    a File for this path

  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped