Packages

class FileSystem extends AnyRef

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

Instance Constructors

  1. new FileSystem(adapter: Adapter)

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. val adapter: Adapter
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def copy(path: String, newPath: String): Boolean

    Copy a file

  8. def delete(path: String): Boolean

    Delete a file

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def has(path: String): Boolean

    Check if the file exists

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def listContents(directory: String, recursive: Boolean = false): Seq[String]

    List contents of a directory

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def read(path: String): Option[InputStream]

    Read a file

  21. def readAsIterator(path: String): Option[Iterator[String]]

    Get an Iterator of strings.

    Get an Iterator of strings. Equivalent to get lines in a Source

  22. def readAsString(path: String): Option[String]

    Get an Iterator of strings.

    Get an Iterator of strings. Equivalent to get lines in a Source

  23. def rename(path: String, newPath: String): Boolean

    Rename a file

  24. def size(path: String): Long

    Get file's size in KB

  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. def update(path: String, resource: String): Boolean

    Update an existing file

  28. def update(path: String, resource: Iterator[Byte]): Boolean

    Update an existing file

  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. def write(path: String, contents: Iterator[Byte]): Boolean

    Write a new file

  33. def write(path: String, contents: String): Boolean

    Write a new file

Inherited from AnyRef

Inherited from Any

Ungrouped