Packages

t

org.mulesoft.common.io

FileProto

trait FileProto[F[_]] extends File

Attributes
protected
Linear Supertypes
File, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileProto
  2. File
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def /(name: String): File

    A file into this file directory

    A file into this file directory

    Definition Classes
    File
  2. abstract def async: AsyncFile

    Returns an async view of the file

    Returns an async view of the file

    Definition Classes
    File
  3. abstract def delete: F[Unit]

    Delete a File

  4. abstract def exists(implicit ctx: ExecutionContext = global): F[Boolean]

    Returns true if the File exists

  5. abstract def fileSystem: FileSystem

    Returns the Filesystem for this file

    Returns the Filesystem for this file

    Definition Classes
    File
  6. abstract def isDirectory(implicit ctx: ExecutionContext = global): F[Boolean]

    Returns true if the File is a directory

  7. abstract def isFile(implicit ctx: ExecutionContext = global): F[Boolean]

    Returns true if the File is a normal File

  8. abstract def list: F[Array[String]]

    list the contents of a directory.

  9. abstract def mkdir(implicit ctx: ExecutionContext = global): F[Unit]

    Create a directory.

  10. abstract def name: String

    Returns the name of the file or directory denoted by this abstract pathname.

    Returns the name of the file or directory denoted by this abstract pathname. This is just the last name in the pathname's name sequence.

    Definition Classes
    File
  11. abstract def parent: String

    Returns the pathname string of this abstract pathname's parent, or empty if this pathname does not name a parent directory.

    Returns the pathname string of this abstract pathname's parent, or empty if this pathname does not name a parent directory.

    Definition Classes
    File
  12. abstract def parentFile: File

    The parent File

    The parent File

    Definition Classes
    File
  13. abstract def path: String

    The whole file path

    The whole file path

    Definition Classes
    File
  14. abstract def read(encoding: String = Utf8)(implicit ctx: ExecutionContext = global): F[CharSequence]

    Read the file.

  15. abstract def sync: SyncFile

    Returns a sync view of the file

    Returns a sync view of the file

    Definition Classes
    File
  16. abstract def withExt(newExt: String): File

    Get a new file replacing the extension

    Get a new file replacing the extension

    Definition Classes
    File
  17. abstract def write(data: CharSequence, encoding: String = Utf8)(implicit ctx: ExecutionContext = global): F[Unit]

    Write to the file.

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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. val global: ExecutionContext
    Attributes
    protected
    Definition Classes
    File
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    File → AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  19. 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 File

Inherited from AnyRef

Inherited from Any

Ungrouped