scalax

io

package io

Scala IO core classes

Scala IO core classes

Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

  1. trait Bufferable [+R <: Resource[Closeable]] extends AnyRef

    An Object that has an associated Buffered object.

  2. trait BufferableInputResource [+C <: Closeable, +B <: Closeable] extends InputResource[C] with Bufferable[InputResource[B]] with ResourceOps[C, BufferableInputResource[C, B]]

    A trait consisting of the Combination of InputResource and Bufferable.

  3. trait BufferableOutputResource [+C <: Closeable, +B <: Closeable] extends OutputResource[C] with Bufferable[OutputResource[B]] with ResourceOps[C, BufferableOutputResource[C, B]]

    A trait consisting of the Combination of OutputResource and Bufferable.

  4. trait BufferableReadCharsResource [+C <: Closeable, +B <: Closeable] extends ReadCharsResource[C] with Bufferable[ReadCharsResource[B]] with ResourceOps[C, BufferableReadCharsResource[C, B]]

    A trait consisting of the Combination of ReadCharsResource and Bufferable.

  5. trait BufferableWriteCharsResource [+C <: Closeable, +B <: Closeable] extends WriteCharsResource[C] with Bufferable[WriteCharsResource[B]] with ResourceOps[C, BufferableWriteCharsResource[C, B]]

    A trait consisting of the Combination of WriteCharsResource and Bufferable.

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

    A for accessing and using ByteChannels.

  7. class CharInputStream extends InputStream

    attributes: protected
  8. trait CloseAction [-A] extends AnyRef

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

  9. class CloseableResourceAcquirer [R <: Closeable, U >: R, B] extends ResourceAcquirer[R, U, B]

    Implementation that only works with Closables.

  10. class Codec extends AnyRef

    A class for character encoding/decoding preferences.

  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. class 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 BufferableInputResource[A, BufferedInputStream] with ResourceOps[A, InputStreamResource[A]]

    A ManagedResource for accessing and using InputStreams.

  17. class LineTraversable extends LongTraversable[String]

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

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

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

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

    The view object associated with LongTraversable.

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

  22. trait OpenOption extends AnyRef

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

  23. trait Output extends AnyRef

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

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

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

    An Resource object that is a also an Output.

  26. class OutputStreamResource [+A <: OutputStream] extends BufferableOutputResource[A, BufferedOutputStream] with ResourceOps[A, OutputStreamResource[A]]

    A ManagedResource for accessing and using OutputStreams.

  27. trait Overwrite extends AnyRef

    A strategy trait used with the Seekable.

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

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

  29. trait ReadChars extends AnyRef

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

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

  31. class ReadableByteChannelResource [+A <: ReadableByteChannel] extends BufferableInputResource[A, BufferedInputStream] with ResourceOps[A, ReadableByteChannelResource[A]]

    A ManagedResource for accessing and using ByteChannels.

  32. class ReaderResource [+A <: Reader] extends BufferableReadCharsResource[A, BufferedReader] with ResourceOps[A, ReaderResource[A]]

    A ManagedResource for accessing and using Readers.

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

    A Resource that can be used to do IO.

  34. class ResourceAcquirer [R, U >: R, B] extends AnyRef

    Essentially the resource aquire and close functionality.

  35. trait ResourceOps [+R, +Repr] extends AnyRef

    A trait allowing adding close actions to a Resource.

  36. 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
  37. trait Seekable extends Input with Output

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

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

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

    A ManagedResource for accessing and using SeekableByteChannels.

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

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

    attributes: protected
  42. trait TraversableSource [In <: Closeable, A] extends AnyRef

    A way of abstracting over the source Resource's type

  43. class WritableByteChannelResource [+A <: WritableByteChannel] extends BufferableOutputResource[A, BufferedOutputStream] with ResourceOps[A, WritableByteChannelResource[A]]

    A ManagedResource for accessing and using ByteChannels.

  44. trait WriteChars extends AnyRef

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

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

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

  47. class WriterResource [+A <: Writer] extends BufferableWriteCharsResource[A, BufferedWriter] with ResourceOps[A, WriterResource[A]]

    A ManagedResource for accessing and using Writers.

Value Members

  1. object CloseAction extends AnyRef

    Factory for CloseAction.

  2. object Codec extends AnyRef

  3. object Constants extends AnyRef

    Not public API.

  4. object Input extends AnyRef

  5. object JavaConversions extends AnyRef

  6. object Line extends AnyRef

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

  7. object LongTraversable extends TraversableFactory[LongTraversable]

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

  8. object LongTraversableView extends AnyRef

    Defines the required canBuildFrom and Type definitions.

  9. object Output 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 ReadChars extends AnyRef

  13. object Resource extends AnyRef

    Defines several factory methods for creating instances of Resource.

  14. object ResourceAdapting extends AnyRef

    Contains a method

  15. object Seekable extends AnyRef

  16. object StandardOpenOption extends Enumeration

    Several options that are supported by most filesystems.

  17. object WriteChars extends AnyRef

  18. package nio

  19. package support