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

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

    Definition Classes
    AnyRef → Any
  3. def +[P <: Path[P]](dest: P): Path[_]

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

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

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

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

    Definition Classes
    Path
  8. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def absolute: Boolean

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

    Definition Classes
    Path
  11. def afterPathString: String

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

    Definition Classes
    Any
  13. val ascent: Int

    Definition Classes
    Path
  14. def clone(): AnyRef

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

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

  16. def drop(n: Int): FileUrl

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

    Definition Classes
    AbsolutePath
  18. val elements: Seq[String]

    Definition Classes
    Path
  19. final def eq(arg0: AnyRef): Boolean

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

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

    Returns true if this object exists on the filesystem.

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

    Extract the file extension from the name of this file.

  23. def filename: String

    Returns the filename of this filesystem object.

  24. def finalize(): Unit

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

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

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

    Definition Classes
    AbsolutePath
  28. def hidden: Boolean

    Returns true if the file or directory is hidden.

  29. def init: FileUrl

    Definition Classes
    AbsolutePath
  30. def isFile: Boolean

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

  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. def isRoot: Boolean

    Definition Classes
    AbsolutePath
  33. lazy val javaFile: File

    The java.

    The java.io.File corresponding to this FileUrl.

  34. def last: String

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

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

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

    Set the last modified time of this file or directory.

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

    Returns the size of the file in bytes.

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

    Definition Classes
    AbsolutePath
  39. 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
  40. 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.

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

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

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

    Definition Classes
    AnyRef
  44. def parent: FileUrl

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

    Definition Classes
    FileUrl → Url
  46. def pathString: String

    Definition Classes
    AbsolutePath
  47. def readable: Boolean

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

  48. def scheme: Scheme[FileUrl]

    Definition Classes
    Url → Uri
  49. def schemeName: String

    Definition Classes
    Url
  50. 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
  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  52. def tail: FileUrl

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

    Definition Classes
    AbsolutePath
  54. 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.

  55. def toString(): String

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

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

  57. final def wait(): Unit

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

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

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

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

  61. 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