object File

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. File
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Attributes = Seq[FileAttribute[_]]
  2. type CopyOptions = Seq[CopyOption]
  3. type Events = Seq[Kind[_]]
  4. type LinkOptions = Seq[LinkOption]
  5. trait Monitor extends AnyRef

    Implement this interface to monitor the root file

  6. type OpenOptions = Seq[OpenOption]
  7. type Order = Ordering[File]
  8. abstract class PathMatcherSyntax extends AnyRef
  9. class RandomAccessMode extends AnyRef
  10. type VisitOptions = Seq[FileVisitOption]

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 apply(uri: URI): File
  5. def apply(url: URL): File
  6. def apply(anchor: File, path: String, fragments: String*): File

    Get File to path with help of reference anchor.

    Get File to path with help of reference anchor.

    Anchor is used as a reference in case that path is not absolute. Anchor could be path to directory or path to file. If anchor is file, then file's parent dir is used as an anchor.

    If anchor itself is relative, then anchor is used together with current working directory.

    NOTE: If anchor is non-existing path on filesystem, then it's always treated as file, e.g. it's last component is removed when it is used as an anchor.

    anchor

    path to be used as anchor

    path

    as string

    fragments

    optional path fragments

    returns

    absolute, normalize path

  7. def apply(path: String, fragments: String*): File
  8. implicit def apply(path: Path): File
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def copyResource(name: String)(out: File = ...): out.type

    Copies a resource into a file

    Copies a resource into a file

    out

    File where resource is copied into, if not specified a temp file is created

  12. def currentWorkingDirectory: File
  13. implicit val defaultCharset: Charset

    The default charset used by better-files Note: It uses java.net.charset.Charset.defaultCharset() in general but if the default supports byte-order markers, it uses a more compliant version than the JDK one (see: https://github.com/pathikrit/better-files/issues/107)

  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  19. def home: File
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def newTemporaryDirectory(prefix: String = "", parent: Option[File] = None)(implicit attributes: Attributes = Attributes.default): File
  23. def newTemporaryFile(prefix: String = "", suffix: String = "", parent: Option[File] = None)(implicit attributes: Attributes = Attributes.default): File
  24. final def notify(): Unit
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  26. def numberOfOpenFileDescriptors(): Long
  27. def resource(name: String): File

    Get a file from a resource Note: Use resourceToFile instead as this may not actually always load the file See: http://stackoverflow.com/questions/676250/different-ways-of-loading-a-file-as-an-inputstream

  28. def root: File
  29. def roots: Iterable[File]
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def temp: File
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def usingTemporaryDirectory[U](prefix: String = "", parent: Option[File] = None, attributes: Attributes = Attributes.default)(f: (File) ⇒ U): U
  34. def usingTemporaryFile[U](prefix: String = "", suffix: String = "", parent: Option[File] = None, attributes: Attributes = Attributes.default)(f: (File) ⇒ U): U
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. object Attributes
  39. object CopyOptions
  40. object Events
  41. object LinkOptions
  42. object OpenOptions
  43. object Order
  44. object PathMatcherSyntax
  45. object RandomAccessMode
  46. object VisitOptions

Inherited from AnyRef

Inherited from Any

Ungrouped