Packages

trait 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

Abstract Value Members

  1. abstract def copy(source: String, destination: String, overwrite: Boolean): Unit

    Copy the content of a folder or a single file to a destination.

    Copy the content of a folder or a single file to a destination.

    source

    the path to the source folder or file

    destination

    the path to the destination folder or file

    overwrite

    If true, the destination path will be overwritten. If false and the destination is not empty then the method will fail.

  2. abstract def list(path: String, recursive: Boolean): List[File]

    List all files within a folder.

    List all files within a folder.

    path

    where to list the files

    recursive

    if true, list files in a recursive manner

    returns

    a list of Files

  3. abstract def move(source: String, destination: String, overwrite: Boolean): Unit

    Move the content of a folder of a single file to a destination.

    Move the content of a folder of a single file to a destination.

    source

    the path to the source folder or file

    destination

    the path to the destination folder or file

    overwrite

    If true, the destination path will be overwritten. If false and the destination is not empty then the method will fail.

  4. abstract def remove(path: String): Unit

    Permanently delete a folder or a file from the system.

    Permanently delete a folder or a file from the system.

    path

    path to to delete from the system.

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def extractPart(folder: String, currentExtention: String, newExtension: String): Boolean

    Extract file with a specific extension from a folder

    Extract file with a specific extension from a folder

    folder

    path to the folder containing the file

    currentExtention

    extension of the file to look for

    newExtension

    extension to set to the file after extraction

    returns

    true if the file was extracted, false if the folder does not contain any file with the extension.

  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val log: Logger
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped