scalax

io

package io

Scala IO core classes

Visibility
  1. Public
  2. All

Type Members

  1. trait Adapter [+S] extends AnyRef

    Supporting classes for converting between resource types.

  2. class ArrayBufferSeekableChannel extends SeekableByteChannel

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

    A for accessing and using ByteChannels.

  4. class CharInputStream extends InputStream

    Attributes
    protected
  5. trait CloseAction [-A] extends AnyRef

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

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

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

  8. class Codec extends AnyRef

    A class for character encoding/decoding preferences.

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

    Signal indicating that the fold should continue to process another value

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

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

  11. class FoldResult [+A] extends AnyRef

    The control signals for the limitFold method in LongTraversable.

  12. trait Input extends AnyRef

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

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

    An Resource object that is a also an Input.

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

    A ManagedResource for accessing and using InputStreams.

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

  16. class LineTraversable extends LongTraversable[String]

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

  17. 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.

  18. 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.

  19. trait LongTraversableView [+A, +Coll] extends LongTraversableViewLike[A, Coll, LongTraversableView[A, Coll]]

    The view object associated with LongTraversable.

  20. trait LongTraversableViewLike [+A, +Coll, +This <: LongTraversableView[A, Coll] with LongTraversableViewLike[A, Coll, This]] extends LongTraversable[A] with LongTraversableLike[A, This] with TraversableView[A, Coll] with TraversableViewLike[A, Coll, This]

    The actual LongTraversableView implementations.

  21. trait OpenOption extends AnyRef

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

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

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

  24. trait Output extends AnyRef

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

  25. 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.

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

    An Resource object that is a also an Output.

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

    A ManagedResource for accessing and using OutputStreams.

  28. trait Overwrite extends AnyRef

    A strategy trait used with the Seekable.

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

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

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

  31. trait ReadChars extends AnyRef

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

  32. 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.

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

    A ManagedResource for accessing and using ByteChannels.

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

    A ManagedResource for accessing and using Readers.

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

    A Resource that can be used to do IO.

  36. trait ResourceDescName extends AnyRef

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

    A trait allowing adding close actions to a Resource.

  38. type ResourceView [A] = LongTraversableView[A, LongTraversable[A]]

    An alias from LongTraversableView[A,LongTraversable[A]].

    An alias from LongTraversableView[A,LongTraversable[A]]. The only purpose is to make the type signatures easier to read

    Definition Classes
    package
  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 WriterOutputStream extends OutputStream

    Takes a writer and allows it to be treated like a OutputStream, The data is encoded as it is written to the Writer

  50. 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 LongTraversableLike extends AnyRef

  9. object LongTraversableView extends AnyRef

    Defines the required canBuildFrom and Type definitions.

  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