scalax

io

package io

Scala IO core classes

Visibility
  1. Public
  2. All

Type Members

  1. class AbstractLazyIteratorBasedBuilder [A, +Repr] extends Builder[A, Repr]

    Attributes
    abstract
  2. trait Adapter [+S] extends AnyRef

    Supporting classes for converting between resource types.

  3. class ArrayBufferSeekableChannel extends SeekableByteChannel

  4. trait ByteBlock extends AnyRef

  5. class ByteChannelResource [+A <: ByteChannel] extends InputResource[A] with OutputResource[A] with ResourceOps[A, ByteChannelResource[A]]

    A for accessing and using ByteChannels.

  6. trait CloseAction [-A] extends AnyRef

    A strategy object representing an action to take upon closing a Resource.

  7. trait CloseableIterator [+A] extends Iterator[A] with Closeable

  8. class CloseableOpenedResource [+R <: Closeable] extends OpenedResource[R]

  9. class Codec extends AnyRef

    A class for character encoding/decoding preferences.

  10. class CompositeIterable [A] extends AnyRef

  11. case class Continue [+A] (result: A) extends FoldResult[A] with Product with Serializable

    Signal indicating that the fold should continue to process another value

  12. case class End [+A] (result: A) extends FoldResult[A] with Product with Serializable

    Signal indicating that the fold should stop and return the contained result

  13. trait FoldResult [+A] extends AnyRef

    The control signals for the limitFold method in LongTraversable.

  14. trait Input extends AnyRef

    An trait for objects that viewed as a sequence of bytes.

  15. trait InputResource [+R <: Closeable] extends Resource[R] with Input with ResourceOps[R, InputResource[R]]

    An Resource object that is a also an Input.

  16. class InputStreamResource [+A <: InputStream] extends InputResource[A] with ResourceOps[A, InputStreamResource[A]]

    A ManagedResource for accessing and using InputStreams.

  17. case class KnownName (name: String) extends ResourceDescName with Product with Serializable

  18. class LineTraversable extends LongTraversable[String]

    Creates a Traversable[String] from a Traversable[Char] where each String is a line as indicated by the Terminator.

  19. trait LongTraversable [+A] extends Traversable[A] with GenericTraversableTemplate[A, LongTraversable] with LongTraversableLike[A, LongTraversable[A]]

    A traversable for use on very large datasets which cannot be indexed with Ints but instead require Longs for indexing.

  20. trait LongTraversableBuilder [-A, +Repr] extends Builder[A, Repr]

  21. trait LongTraversableLike [+A, +Repr <: LongTraversableLike[A, Repr]] extends TraversableLike[A, Repr]

    A traversable for use on very large datasets which cannot be indexed with Ints but instead require Longs for indexing.

  22. trait OpenOption extends AnyRef

    A flag interface for indicating that the object represents a filesystem dependent option for opening a file.

  23. type OpenSeekable = Seekable { ... /* 2 definitions in type refinement */ }

    Definition Classes
    package
  24. trait OpenedResource [+R] extends AnyRef

  25. trait Output extends AnyRef

    A trait for objects that can have data written to them.

  26. trait OutputConverter [-T] extends (OutputStream, T) ⇒ Unit

    Functions used by Seekable and Output to either convert data to bytes for writing or write directly to an output stream depending on the requirements of the caller.

  27. trait OutputResource [+R <: Closeable] extends Resource[R] with Output with ResourceOps[R, OutputResource[R]]

    An Resource object that is a also an Output.

  28. class OutputStreamResource [+A <: OutputStream] extends OutputResource[A] with ResourceOps[A, OutputStreamResource[A]]

    A ManagedResource for accessing and using OutputStreams.

  29. trait Overwrite extends AnyRef

    A strategy trait used with the Seekable.

  30. case class OverwriteSome (replacementLength: Long) extends Overwrite with Product with Serializable

    Strategy for (potentially) only overwriting a subset of the data.

  31. case class PrefixedName (prefix: String) extends ResourceDescName with Product with Serializable

  32. trait ReadChars extends AnyRef

    An trait for objects that viewed as a sequence of characters.

  33. trait ReadCharsResource [+R <: Closeable] extends Resource[R] with ReadChars with ResourceOps[R, ReadCharsResource[R]]

    An object that in addition to being a resource is also a ReadChars Resource.

  34. class ReadableByteChannelResource [+A <: ReadableByteChannel] extends InputResource[A] with ResourceOps[A, ReadableByteChannelResource[A]]

    A ManagedResource for accessing and using ByteChannels.

  35. class ReaderResource [+A <: Reader] extends ReadCharsResource[A] with ResourceOps[A, ReaderResource[A]]

    A ManagedResource for accessing and using Readers.

  36. trait Resource [+R <: Closeable] extends ManagedResourceOperations[R] with ResourceOps[R, Resource[R]]

    A Resource that can be used to do IO.

  37. trait ResourceDescName extends AnyRef

    Attributes
    sealed
  38. trait ResourceOps [+R, +Repr] extends AnyRef

    A trait allowing adding close actions to a Resource.

  39. trait Seekable extends Input with Output

    An object for reading and writing to Random Access IO objects such as Files.

  40. trait SeekableByteChannel extends ByteChannel with Channel with Closeable with ReadableByteChannel with WritableByteChannel

    An object for reading and writing to Random Access IO objects such as Files.

  41. class SeekableByteChannelResource [+A <: SeekableByteChannel] extends SeekableResource[A] with ResourceOps[A, SeekableByteChannelResource[A]]

    A ManagedResource for accessing and using SeekableByteChannels.

  42. trait SeekableResource [+R <: Closeable] extends Seekable with InputResource[R] with OutputResource[R] with ResourceOps[R, SeekableResource[R]]

    An object that can be viewed as a Seekable object.

  43. class StreamIterator [E] extends Iterator[E]

    Attributes
    protected
  44. trait TraversableSource [In <: Closeable, A] extends AnyRef

    A way of abstracting over the source Resource's type

  45. case class UnknownName () extends ResourceDescName with Product with Serializable

  46. class WritableByteChannelResource [+A <: WritableByteChannel] extends OutputResource[A] with ResourceOps[A, WritableByteChannelResource[A]]

    A ManagedResource for accessing and using ByteChannels.

  47. trait WriteChars extends AnyRef

    A trait for objects that can have expect to have characters written to them.

  48. trait WriteCharsResource [+R <: Closeable] extends Resource[R] with WriteChars with ResourceOps[R, WriteCharsResource[R]]

    An object that in addition to being a resource is also a WriteChars Resource.

  49. class WriterResource [+A <: Writer] extends WriteCharsResource[A] with ResourceOps[A, WriterResource[A]]

    A ManagedResource for accessing and using Writers.

Value Members

  1. object Buffers extends AnyRef

    Not public API.

  2. object CloseAction extends AnyRef

    Factory for CloseAction.

  3. object CloseableIterator extends AnyRef

  4. object Codec extends AnyRef

  5. object JavaConverters extends AnyRef

  6. object Line extends AnyRef

    A modularizing object for containing objects/classes related to reading lines

  7. object LongTraversable extends GenTraversableFactory[LongTraversable] with TraversableFactory[LongTraversable]

    This class is not interesting from an API point of view.

  8. object LongTraversableBuilder extends AnyRef

  9. object LongTraversableLike extends AnyRef

  10. object OutputConverter extends AnyRef

    Contains implicit Converter objects for the compiler to resolve the converters for write operations

  11. object OverwriteAll extends Overwrite with Product with Serializable

    Strategy to overwrite as much data as possible.

  12. object Resource extends AnyRef

    Defines several factory methods for creating instances of Resource.

  13. object ResourceAdapting extends AnyRef

    Contains a method

  14. object StandardOpenOption extends Enumeration

    Several options that are supported by most filesystems.

  15. package extractor

  16. package nio

  17. package support

  18. package traversable