Object

scalaz.stream.nio

file

Related Doc: package nio

Permalink

object file

Source
file.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. file
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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 chunkR(src: ⇒ AsynchronousFileChannel): Channel[Task, Int, ByteVector]

    Permalink

    Creates a Channel[Task,Int,ByteVector] from an AsynchronousFileChannel by repeatedly requesting the given number of bytes.

    Creates a Channel[Task,Int,ByteVector] from an AsynchronousFileChannel by repeatedly requesting the given number of bytes. The last chunk may be less than the requested size.

    This implementation closes the AsynchronousFileChannel when finished or in the event of an error.

  6. def chunkR(path: Path): Channel[Task, Int, ByteVector]

    Permalink

    Creates a Channel[Task,Int,ByteVector] from an AsynchronousFileChannel opened for the provided Path by repeatedly requesting the given number of bytes.

    Creates a Channel[Task,Int,ByteVector] from an AsynchronousFileChannel opened for the provided Path by repeatedly requesting the given number of bytes. The last chunk may be less than the requested size.

    This implementation closes the AsynchronousFileChannel when finished or in the event of an error.

  7. def chunkR(uri: URI): Channel[Task, Int, ByteVector]

    Permalink

    Creates a Channel[Task,Int,ByteVector] from an AsynchronousFileChannel opened for the provided URI by repeatedly requesting the given number of bytes.

    Creates a Channel[Task,Int,ByteVector] from an AsynchronousFileChannel opened for the provided URI by repeatedly requesting the given number of bytes. The last chunk may be less than the requested size.

    This implementation closes the AsynchronousFileChannel when finished or in the event of an error.

  8. def chunkR(path: String): Channel[Task, Int, ByteVector]

    Permalink

    Creates a Channel[Task,Int,ByteVector] from an AsynchronousFileChannel opened for the provided path by repeatedly requesting the given number of bytes.

    Creates a Channel[Task,Int,ByteVector] from an AsynchronousFileChannel opened for the provided path by repeatedly requesting the given number of bytes. The last chunk may be less than the requested size.

    This implementation closes the AsynchronousFileChannel when finished or in the event of an error.

  9. def chunkReadBuffer(src: ⇒ AsynchronousFileChannel): Channel[Task, Int, ByteBuffer]

    Permalink

    Creates a Channel[Task,Int,ByteBuffer] from an AsynchronousFileChannel by repeatedly requesting the given number of bytes.

    Creates a Channel[Task,Int,ByteBuffer] from an AsynchronousFileChannel by repeatedly requesting the given number of bytes. The last chunk may be less than the requested size. The emitted ByteBuffer isn't reused.

    This implementation closes the AsynchronousFileChannel when finished or in the event of an error.

  10. def chunkW(src: ⇒ AsynchronousFileChannel): Sink[Task, ByteVector]

    Permalink

    Creates a Sink[Task, ByteVector] representation of the AsynchronousFileChannel which will be closed when this Process is halted.

  11. def chunkW(path: Path, create: Boolean): Sink[Task, ByteVector]

    Permalink

    Creates a Sink[Task, ByteVector] representation of an AsynchronousFileChannel at the specified Path which will be closed when this Process is halted.

  12. def chunkW(path: Path): Sink[Task, ByteVector]

    Permalink

    Creates a Sink[Task, ByteVector] representation of an AsynchronousFileChannel, creating the file at the specified Path if necessary, which will be closed when this Process is halted.

  13. def chunkW(uri: URI, create: Boolean): Sink[Task, ByteVector]

    Permalink

    Creates a Sink[Task, ByteVector] representation of an AsynchronousFileChannel which will be closed when this Process is halted.

  14. def chunkW(uri: URI): Sink[Task, ByteVector]

    Permalink

    Creates a Sink[Task, ByteVector] representation of an AsynchronousFileChannel, creating the file if necessary, which will be closed when this Process is halted.

  15. def chunkW(path: String, create: Boolean): Sink[Task, ByteVector]

    Permalink

    Creates a Sink[Task, ByteVector] representation of an AsynchronousFileChannel which will be closed when this Process is halted.

  16. def chunkW(path: String): Sink[Task, ByteVector]

    Permalink

    Creates a Sink[Task, ByteVector] representation of an AsynchronousFileChannel, creating the file if necessary, which will be closed when this Process is halted.

  17. def chunkWriteBuffer(src: ⇒ AsynchronousFileChannel): Sink[Task, ByteBuffer]

    Permalink

    Creates a Sink[Task,ByteBuffer] from an AsynchronousFileChannel, which will be closed when this Process is halted.

  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  25. def linesR(src: ⇒ AsynchronousFileChannel)(implicit codec: Codec): Process[Task, String]

    Permalink

    Creates a Process[Task,String] from the lines of the AsynchronousFileChannel using the nio2 framework to make the process asynchronous.

    Creates a Process[Task,String] from the lines of the AsynchronousFileChannel using the nio2 framework to make the process asynchronous. The resource combinator is used to ensure the AsynchronousFileChannel is automatically closed on completion.

  26. def linesR(path: Path)(implicit codec: Codec): Process[Task, String]

    Permalink

    Creates a Process[Task,String] from the lines of a file, using the nio2 AsynchronousFileChannel to make the process asynchronous.

    Creates a Process[Task,String] from the lines of a file, using the nio2 AsynchronousFileChannel to make the process asynchronous. The resource combinator is used to ensure the AsynchronousFileChannel is automatically closed on completion.

  27. def linesR(filename: String)(implicit codec: Codec): Process[Task, String]

    Permalink

    Creates a Process[Task,String] from the lines of a file, using the nio2 framework to make the process asynchronous.

    Creates a Process[Task,String] from the lines of a file, using the nio2 framework to make the process asynchronous. The resource combinator is used to ensure the AsynchronousFileChannel is automatically closed on completion.

  28. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def textR(src: ⇒ AsynchronousFileChannel)(implicit codec: Codec): Process[Task, String]

    Permalink

    Creates a Process[Task,String] from the text of the AsynchronousFileChannel using the nio2 framework to make the process asynchronous.

    Creates a Process[Task,String] from the text of the AsynchronousFileChannel using the nio2 framework to make the process asynchronous. The resource combinator is used to ensure the AsynchronousFileChannel is automatically closed on completion.

  33. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped