Packages

t

zio.connect.file

FileConnector

trait FileConnector extends AnyRef

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileConnector
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def deletePath(implicit trace: Trace): ZSink[Any, IOException, Path, Nothing, Unit]

    Will fail for non empty directories.

    Will fail for non empty directories. For that use case use deleteRecursivelyPath

  2. abstract def deleteRecursivelyPath(implicit trace: Trace): ZSink[Any, IOException, Path, Nothing, Unit]
  3. abstract def existsPath(path: Path)(implicit trace: Trace): ZSink[Any, IOException, Any, Nothing, Boolean]
  4. abstract def listPath(path: ⇒ Path)(implicit trace: Trace): ZStream[Any, IOException, Path]
  5. abstract def movePathZIO(locator: (Path) ⇒ ZIO[Any, IOException, Path])(implicit trace: Trace): ZSink[Any, IOException, Path, Nothing, Unit]
  6. abstract def readPath(path: ⇒ Path)(implicit trace: Trace): ZStream[Any, IOException, Byte]
  7. abstract def tailPath(path: ⇒ Path, freq: ⇒ zio.Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
  8. abstract def tailPathUsingWatchService(path: ⇒ Path, freq: ⇒ zio.Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
  9. abstract def tempDirPath(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, Path]
  10. abstract def tempDirPathIn(dirPath: Path)(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, Path]
  11. abstract def tempPath(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, Path]
  12. abstract def tempPathIn(dirPath: Path)(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, Path]
  13. abstract def writePath(path: ⇒ Path)(implicit trace: Trace): ZSink[Any, IOException, Byte, Nothing, Unit]

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 deleteFile(implicit trace: Trace): ZSink[Any, IOException, File, Nothing, Unit]
  7. final def deleteFileName(implicit trace: Trace): ZSink[Any, IOException, String, Nothing, Unit]
  8. final def deleteRecursivelyFile(implicit trace: Trace): ZSink[Any, IOException, File, Nothing, Unit]
  9. final def deleteRecursivelyFileName(implicit trace: Trace): ZSink[Any, IOException, String, Nothing, Unit]
  10. final def deleteRecursivelyURI(implicit trace: Trace): ZSink[Any, IOException, URI, Nothing, Unit]
  11. final def deleteURI(implicit trace: Trace): ZSink[Any, IOException, URI, Nothing, Unit]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. final def existsFile(file: File)(implicit trace: Trace): ZSink[Any, IOException, Any, Nothing, Boolean]
  15. final def existsFileName(name: String)(implicit trace: Trace): ZSink[Any, IOException, Any, Nothing, Boolean]
  16. final def existsURI(uri: URI)(implicit trace: Trace): ZSink[Any, IOException, Any, Nothing, Boolean]
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def listFile(file: ⇒ File)(implicit trace: Trace): ZStream[Any, IOException, File]
  21. final def listFileName(name: ⇒ String)(implicit trace: Trace): ZStream[Any, IOException, String]
  22. final def listURI(uri: ⇒ URI)(implicit trace: Trace): ZStream[Any, IOException, URI]
  23. final def moveFile(locator: (File) ⇒ File)(implicit trace: Trace): ZSink[Any, IOException, File, Nothing, Unit]
  24. final def moveFileName(locator: (String) ⇒ String)(implicit trace: Trace): ZSink[Any, IOException, String, Nothing, Unit]
  25. final def moveFileNameZIO(locator: (String) ⇒ ZIO[Any, IOException, String])(implicit trace: Trace): ZSink[Any, IOException, String, Nothing, Unit]
  26. final def moveFileZIO(locator: (File) ⇒ ZIO[Any, IOException, File])(implicit trace: Trace): ZSink[Any, IOException, File, Nothing, Unit]
  27. final def movePath(locator: (Path) ⇒ Path)(implicit trace: Trace): ZSink[Any, IOException, Path, Nothing, Unit]
  28. final def moveURI(locator: (URI) ⇒ URI)(implicit trace: Trace): ZSink[Any, IOException, URI, Nothing, Unit]
  29. final def moveURIZIO(locator: (URI) ⇒ ZIO[Any, IOException, URI])(implicit trace: Trace): ZSink[Any, IOException, URI, Nothing, Unit]
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def readFile(file: ⇒ File)(implicit trace: Trace): ZStream[Any, IOException, Byte]
  34. final def readFileName(name: ⇒ String)(implicit trace: Trace): ZStream[Any, IOException, Byte]
  35. final def readURI(uri: ⇒ URI)(implicit trace: Trace): ZStream[Any, IOException, Byte]
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. final def tailFile(file: ⇒ File, freq: ⇒ zio.Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
  38. final def tailFileName(name: ⇒ String, freq: ⇒ zio.Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
  39. final def tailFileNameUsingWatchService(fileName: ⇒ String, freq: ⇒ zio.Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
  40. final def tailFileUsingWatchService(file: ⇒ File, freq: ⇒ zio.Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
  41. final def tailURI(uri: ⇒ URI, freq: ⇒ zio.Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
  42. final def tailURIUsingWatchService(uri: ⇒ URI, freq: ⇒ zio.Duration)(implicit trace: Trace): ZStream[Any, IOException, Byte]
  43. final def tempDirFile(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, File]
  44. final def tempDirFileIn(dirFile: File)(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, File]
  45. final def tempDirFileName(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, String]
  46. final def tempDirFileNameIn(dirName: String)(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, String]
  47. final def tempDirURI(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, URI]
  48. final def tempDirURIIn(dirURI: URI)(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, URI]
  49. final def tempFile(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, File]
  50. final def tempFileIn(dirFile: File)(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, File]
  51. final def tempFileName(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, String]
  52. final def tempFileNameIn(dirName: String)(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, String]
  53. final def tempURI(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, URI]
  54. final def tempURIIn(dirURI: URI)(implicit trace: Trace): ZSink[Scope, IOException, Any, Nothing, URI]
  55. def toString(): String
    Definition Classes
    AnyRef → Any
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def writeFile(file: ⇒ File)(implicit trace: Trace): ZSink[Any, IOException, Byte, Nothing, Unit]
  60. final def writeFileName(name: ⇒ String)(implicit trace: Trace): ZSink[Any, IOException, Byte, Nothing, Unit]
  61. final def writeURI(uri: ⇒ URI)(implicit trace: Trace): ZSink[Any, IOException, Byte, Nothing, Unit]

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