Class/Object

rapture.fs

FsUrl

Related Docs: object FsUrl | package fs

Permalink

case class FsUrl(elements: Seq[String]) extends Product with Serializable

Defines a URL for the file: scheme, and provides standard filesystem operations on the file represented by the URL.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FsUrl
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FsUrl(elements: Seq[String])

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def deleteOnExit(): Unit

    Permalink

    Add a hook to the filesystem to delete this file upon shutdown of the JVM.

  7. val elements: Seq[String]

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def exists: Boolean

    Permalink

    Returns true if this object exists on the filesystem.

  10. def extension(implicit mode: Mode[FsMethods]): Wrap[Option[String], Exception]

    Permalink

    Extract the file extension from the name of this file.

  11. def filename: String

    Permalink

    Returns the filename of this filesystem object.

  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hidden: Boolean

    Permalink

    Returns true if the file or directory is hidden.

  15. def isFile: Boolean

    Permalink

    Returns true if the filesystem object represented by this FsUrl is a file, and false if it is a directory.

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. lazy val javaFile: File

    Permalink

    The java.io.File corresponding to this FsUrl.

  18. def lastModified[I](implicit arg0: ByInstant[I], mode: Mode[FsMethods]): Wrap[I, Exception]

    Permalink

    Returns the date of the last modification to the file or directory.

  19. def length(implicit mode: Mode[FsMethods]): Wrap[Long, Exception]

    Permalink

    Returns the size of the file in bytes.

  20. def mkdir(makeParents: Boolean = false)(implicit mode: Mode[FsMethods]): Wrap[Boolean, Exception]

    Permalink

    If the filesystem object represented by this FsUrl does not exist, it is created as a directory, provided that either the immediate parent directory already exists, or the makeParents path is set.

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

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def readable: Boolean

    Permalink

    Returns true if the file or directory represented by this FsUrl can be read from.

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

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    FsUrl → AnyRef → Any
  27. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def writable: Boolean

    Permalink

    Returns true if the file or directory represented by this FsUrl can be written to.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped