Packages

c

org.mulesoft.common.io

JvmSyncFile

class JvmSyncFile extends SyncFile

Implementation of a SyncFile for the JVM

Attributes
protected
Linear Supertypes
SyncFile, FileProto[Id], File, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JvmSyncFile
  2. SyncFile
  3. FileProto
  4. File
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JvmSyncFile(fileSystem: FileSystem, path: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def /(name: String): SyncFile

    A file into this file directory

    A file into this file directory

    Definition Classes
    SyncFileFile
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def async: AsyncFile

    Returns an async view of the file

    Returns an async view of the file

    Definition Classes
    JvmSyncFileFile
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def delete: Unit

    Delete a File

    Delete a File

    Definition Classes
    JvmSyncFileFileProto
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def exists(implicit ctx: ExecutionContext = global): Boolean

    Returns true if the File exists

    Returns true if the File exists

    Definition Classes
    JvmSyncFileFileProto
  12. val fileSystem: FileSystem

    Returns the Filesystem for this file

    Returns the Filesystem for this file

    Definition Classes
    JvmSyncFileFile
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. val global: ExecutionContext
    Attributes
    protected
    Definition Classes
    File
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def isDirectory(implicit ctx: ExecutionContext = global): Boolean

    Returns true if the File is a directory

    Returns true if the File is a directory

    Definition Classes
    JvmSyncFileFileProto
  18. def isFile(implicit ctx: ExecutionContext = global): Boolean

    Returns true if the File is a normal File

    Returns true if the File is a normal File

    Definition Classes
    JvmSyncFileFileProto
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def list: Array[String]

    list the contents of a directory.

    list the contents of a directory.

    Definition Classes
    JvmSyncFileFileProto
  21. def mkdir(implicit ctx: ExecutionContext = global): Unit

    Create a directory.

    Create a directory.

    Definition Classes
    JvmSyncFileFileProto
  22. 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
    JvmSyncFileFile
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. 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
    JvmSyncFileFile
  27. def parentFile: SyncFile

    The parent File

    The parent File

    Definition Classes
    SyncFileFile
  28. val path: String

    The whole file path

    The whole file path

    Definition Classes
    JvmSyncFileFile
  29. def read(encoding: String)(implicit ctx: ExecutionContext = global): CharSequence

    Read the file.

    Read the file.

    Definition Classes
    JvmSyncFileFileProto
  30. def sync: SyncFile

    Returns a sync view of the file

    Returns a sync view of the file

    Definition Classes
    SyncFileFile
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    File → AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  36. def withExt(newExt: String): SyncFile

    Get a new file replacing the extension

    Get a new file replacing the extension

    Definition Classes
    SyncFileFile
  37. def write(data: CharSequence, encoding: String)(implicit ctx: ExecutionContext = global): Unit

    Write to the file.

    Write to the file.

    Definition Classes
    JvmSyncFileFileProto

Inherited from SyncFile

Inherited from FileProto[Id]

Inherited from File

Inherited from AnyRef

Inherited from Any

Ungrouped