rapture.fs

FileUrl

class FileUrl extends Url[FileUrl] with PathUrl[FileUrl]

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

Linear Supertypes
PathUrl[FileUrl], Url[FileUrl], Uri, AbsolutePath[FileUrl], Path[FileUrl], Link, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FileUrl
  2. PathUrl
  3. Url
  4. Uri
  5. AbsolutePath
  6. Path
  7. Link
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FileUrl(pathRoot: PathRoot[FileUrl], elements: Seq[String])

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. def +[P <: Path[P]](dest: P): Path[_]

    Definition Classes
    Url → AbsolutePath
  5. def -[P <: AbsolutePath[P]](src: P)(implicit linkable: Linkable[P, FileUrl]): Result

    Definition Classes
    AbsolutePath
  6. def /(path: SimplePath): FileUrl

    Definition Classes
    Url
  7. def /(element: String): FileUrl

    Definition Classes
    Url → AbsolutePath → Path
  8. def /?[Q](q: Q)(implicit qt: QueryType[FileUrl, Q]): FileUrl

    Definition Classes
    Path
  9. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  11. def absolute: Boolean

    Definition Classes
    AbsolutePath → Path → Link
  12. val afterPath: AfterPath

    Definition Classes
    Path
  13. def afterPathString: String

    Attributes
    protected
    Definition Classes
    Path
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. val ascent: Int

    Definition Classes
    Path
  16. def clone(): AnyRef

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

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

  18. def drop(n: Int): FileUrl

    Definition Classes
    AbsolutePath
  19. def dropRight(n: Int): FileUrl

    Definition Classes
    AbsolutePath
  20. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def equals(any: Any): Boolean

    Definition Classes
    Url → Path → AnyRef → Any
  22. def exists: Boolean

    Returns true if this object exists on the filesystem.

  23. def extension(implicit eh: ExceptionHandler): ![Option[String], Exception]

    Extract the file extension from the name of this file.

  24. def filename: String

    Returns the filename of this filesystem object.

  25. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  27. def hashCode(): Int

    Definition Classes
    Url → AnyRef → Any
  28. def head: String

    Definition Classes
    AbsolutePath
  29. def hidden: Boolean

    Returns true if the file or directory is hidden.

  30. def init: FileUrl

    Definition Classes
    AbsolutePath
  31. def isFile: Boolean

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

  32. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  33. def isRoot: Boolean

    Definition Classes
    AbsolutePath
  34. lazy val javaFile: File

    The java.

    The java.io.File corresponding to this FileUrl.

  35. def last: String

    Definition Classes
    AbsolutePath
  36. def lastModified[I](implicit arg0: ByInstant[I], eh: ExceptionHandler): ![I, NotFoundExceptions]

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

  37. def lastModified_=[I](d: I)(implicit arg0: ByInstant[I]): Boolean

    Set the last modified time of this file or directory.

  38. def length(implicit eh: ExceptionHandler): ![Long, NotFoundExceptions]

    Returns the size of the file in bytes.

  39. def link[P <: AbsolutePath[P]](dest: P)(implicit linkable: Linkable[FileUrl, P]): Result

    Definition Classes
    AbsolutePath
  40. def makePath(ascent: Int, elements: Seq[String], afterPath: AfterPath): FileUrl

    Creates a new instance of this type of URL.

    Creates a new instance of this type of URL.

    Definition Classes
    FileUrl → AbsolutePath → Path
  41. def mkdir(makeParents: Boolean = false)(implicit eh: ExceptionHandler): ![Boolean, Exception]

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

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

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

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

    Definition Classes
    AnyRef
  45. def parent: FileUrl

    Definition Classes
    AbsolutePath
  46. val pathRoot: PathRoot[FileUrl]

    Definition Classes
    FileUrl → Url
  47. def pathString: String

    Definition Classes
    AbsolutePath
  48. def readable: Boolean

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

  49. def scheme: Scheme[FileUrl]

    Definition Classes
    Url → Uri
  50. def schemeName: String

    Definition Classes
    Url
  51. def schemeSpecificPart: String

    The scheme-specific part of the URL, which appears after the colon

    The scheme-specific part of the URL, which appears after the colon

    Definition Classes
    FileUrl → Uri
  52. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  53. def tail: FileUrl

    Definition Classes
    AbsolutePath
  54. def take(n: Int): FileUrl

    Definition Classes
    AbsolutePath
  55. def tempFile(prefix: String = "tmp", suffix: String = "")(implicit eh: ExceptionHandler, platform: fs.Platform): ![FileUrl, Exception]

    Creates a temporary file beneath this directory with the prefix and suffix specified.

  56. def toString(): String

    Definition Classes
    Uri → AnyRef → Any
  57. def touch(): Boolean

    Update the last-modified time of this file to the current time.

  58. final def wait(): Unit

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

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

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

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

  62. def writable_=(b: Boolean): Boolean

    Attempt to alter the permissions of this file so that it is writable.

Inherited from PathUrl[FileUrl]

Inherited from Url[FileUrl]

Inherited from Uri

Inherited from AbsolutePath[FileUrl]

Inherited from Path[FileUrl]

Inherited from Link

Inherited from AnyRef

Inherited from Any

Ungrouped