Packages

o

fs2.io.file

pulls

object pulls

Provides various Pulls for working with files.

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

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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def fromFileChannel[F[_]](channel: F[FileChannel], blockingExecutionContext: ExecutionContext)(implicit F: Sync[F], cs: ContextShift[F]): Pull[F, Nothing, Cancellable[F, FileHandle[F]]]

    Given a java.nio.channels.FileChannel, will create a Pull which allows synchronous operations against the underlying file.

    Given a java.nio.channels.FileChannel, will create a Pull which allows synchronous operations against the underlying file.

    The Pull closes the provided java.nio.channels.FileChannel when it is done.

  10. def fromPath[F[_]](path: Path, blockingExecutionContext: ExecutionContext, flags: Seq[OpenOption])(implicit F: Sync[F], cs: ContextShift[F]): Pull[F, Nothing, Cancellable[F, FileHandle[F]]]

    Creates a Pull which allows synchronous file operations against the file at the specified java.nio.file.Path.

    Creates a Pull which allows synchronous file operations against the file at the specified java.nio.file.Path.

    The Pull closes the acquired java.nio.channels.FileChannel when it is done.

  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def readAllFromFileHandle[F[_]](chunkSize: Int)(h: FileHandle[F]): Pull[F, Byte, Unit]

    Given a FileHandle[F], creates a Pull which reads all data from the associated file.

  18. def readRangeFromFileHandle[F[_]](chunkSize: Int, start: Long, end: Long)(h: FileHandle[F]): Pull[F, Byte, Unit]
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  24. def writeAllToFileHandle[F[_]](in: Stream[F, Byte], out: FileHandle[F]): Pull[F, Nothing, Unit]

    Given a Stream[F, Byte] and FileHandle[F], writes all data from the stream to the file.

  25. def writeAllToFileHandleAtOffset[F[_]](in: Stream[F, Byte], out: FileHandle[F], offset: Long): Pull[F, Nothing, Unit]

    Like writeAllToFileHandle but takes an offset in to the file indicating where write should start.

Inherited from AnyRef

Inherited from Any

Ungrouped