Packages

  • package root
    Definition Classes
    root
  • package doobie

    Top-level import, providing aliases for the most commonly used types and modules from doobie-free and doobie-core.

    Top-level import, providing aliases for the most commonly used types and modules from doobie-free and doobie-core. A typical starting set of imports would be something like this.

    import cats.implicits._
    import doobie._, doobie.implicits._
    Definition Classes
    root
    See also

    The doobie microsite for much more information.

  • package util

    Collection of modules for typeclasses and other helpful bits.

    Collection of modules for typeclasses and other helpful bits.

    Definition Classes
    doobie
  • object io

    Module for a constructor of modules of IO operations for effectful monads.

    Module for a constructor of modules of IO operations for effectful monads.

    Definition Classes
    util
  • IOActions
c

doobie.util.io

IOActions

class IOActions[M[_]] extends AnyRef

Constructor for a module of IO operations in some effectful monad. This is by no means complete; contributions welcome. The construtors here expose naked lifetime-managed objects and should be used with caution; they are mostly intended for library authors who wish to integrate vendor- specific behavior that relies on JDK IO.

Source
io.scala
Linear Supertypes
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. IOActions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IOActions()(implicit M: WeakAsync[M])

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. def copyBlock(buf: Array[Byte])(is: InputStream, os: OutputStream): M[Int]

    Copy a block from is to os using naked buffer buf, which will be clobbered.

  7. def copyFileToStream(bufSize: Int, file: File, os: OutputStream): M[Unit]

    Copy the contents of file to a os in blocks of size bufSize.

  8. def copyStream(buf: Array[Byte])(is: InputStream, os: OutputStream): M[Unit]

    Copy the remainder of is into os using naked buffer buf, which will be clobbered.

  9. def copyStreamToFile(bufSize: Int, file: File, is: InputStream): M[Unit]

    Copy the remainder of is to file in blocks of size bufSize.

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def flush(os: OutputStream): M[Unit]

    Flush os.

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def putStr(s: String): M[Unit]

    Print to Console.out

  20. def putStrLn(s: String): M[Unit]

    Print to Console.out

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def withFileInputStream[A](file: File)(f: (FileInputStream) ⇒ M[A]): M[A]

    Perform an operation with a FileInputStream, which will be closed afterward.

  27. def withFileOutputStream[A](file: File)(f: (FileOutputStream) ⇒ M[A]): M[A]

    Perform an operation with a FileOutputStream, which will be closed afterward.

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

Console Operations

File Operations

Stream Operations

Ungrouped