org.specs2.io

FilePath

Related Docs: object FilePath | package io

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: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. def asAbsolute: FilePath

    returns

    an absolute file path

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def asRelative: FilePath

    returns

    a relative file path

  7. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef
  10. def finalize(): Unit

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

    returns

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

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

    Definition Classes
    AnyRef → Any
  13. def isAbsolute: Boolean

    returns

    true if the file path is absolute

  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def isRelative: Boolean

    returns

    true if this file path is relative

  16. val name: FileName

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

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

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

    Definition Classes
    AnyRef
  20. def path: String

    returns

    the path for this file as a / separated string

  21. def rebaseTo(other: DirectoryPath): FilePath

    returns

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

  22. def relativeTo(other: DirectoryPath): FilePath

    returns

    the portion of a file path that is relative to another

  23. def root: DirectoryPath

    returns

    the root directory containing this file

  24. def setAbsolute(absolute: Boolean): FilePath

    returns

    modify the absolute status of this file path

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

    Definition Classes
    AnyRef
  26. def toDirectoryPath: DirectoryPath

    returns

    interpret this FilePath as a DirectoryPath

  27. def toFile: File

    returns

    a File for this path

  28. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. 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