Class

doobie.util.io

IOActions

Related Doc: package io

Permalink

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
AnyRef, Any
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 arg0: Sync[M])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def copyBlock(buf: Array[Byte])(is: InputStream, os: OutputStream): M[Int]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

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

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def flush(os: OutputStream): M[Unit]

    Permalink

    Flush os.

  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def putStr(s: String): M[Unit]

    Permalink

    Print to Console.out

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

    Permalink

    Print to Console.out

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def withFileInputStream[A](file: File)(f: (FileInputStream) ⇒ M[A]): M[A]

    Permalink

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

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

    Permalink

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

Inherited from AnyRef

Inherited from Any

Console Operations

File Operations

Stream Operations

Ungrouped