Package

eie

io

Permalink

package io

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. io
  2. LowPriorityIOImplicits
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait ByteFormat[T] extends ToBytes[T] with FromBytes[T]

    Permalink
  2. case class CloseableIterator[T](iter: Iterator[T])(closeMe: ⇒ Unit) extends Iterator[T] with AutoCloseable with Product with Serializable

    Permalink

    An iterator which will invoke the given 'closeMe' thunk when it is exhausted It also implements 'AutoClosable' should it need to be closed early

  3. case class FileNamePredicate(filter: (String) ⇒ Boolean) extends FilenameFilter with Product with Serializable

    Permalink
  4. trait FromBytes[T] extends Serializable

    Permalink

    Typeclass to serialize a type from a byte array

  5. final class Lazy[T] extends AutoCloseable with LazyLogging

    Permalink

    A wrapper for lazy values which can be queried whether they are created.

    A wrapper for lazy values which can be queried whether they are created.

    This was created primarily for being able to close/clean up things which may or may not have been created.

    e.g. instead of this:

    lazy val someResource = ...
    
    // we may not have had a 'someResource' yet, so trying to close() our object
    // would instantiate and then 'close' the resource
    def close() = someResource.close()

    we'd have this:

    private val someResource_ = Lazy { ... }
    def someResource = someResource_.value
    
    def close() = someResource_.close() // or perhaps someResource_.foreach(_.destroy)
  6. trait LowPriorityIOImplicits extends AnyRef

    Permalink

    Contains some 'pimped' types (adding <string>.asPath), and RichPath

  7. class RichPath extends AnyRef

    Permalink
  8. implicit class RichPathString extends AnyRef

    Permalink

    exposes 'toPath' on strings, for e.g.

    exposes 'toPath' on strings, for e.g.

    "/var/tmp/foo.txt".asPath.text = "hello world"
    returns

    a pimped string

    Definition Classes
    LowPriorityIOImplicits
  9. trait ToBytes[T] extends Serializable

    Permalink

    Typeclass to serialize a type to bytes

    Typeclass to serialize a type to bytes

    T

    the value to convert

  10. case class TryIterator[T](iter: Iterator[T])(onErr: PartialFunction[Throwable, Nothing]) extends Iterator[T] with Product with Serializable

    Permalink

Value Members

  1. object AlphaCounter

    Permalink

    Provides a means to encode a long into a shorter string of characters (alphanumeric by default, so effectively base 62 instead of base 10 (10 + 26 + 26)

  2. object FromBytes extends Serializable

    Permalink
  3. object Hex

    Permalink
  4. object Lazy

    Permalink
  5. object LowPriorityIOImplicits

    Permalink
  6. object MD5

    Permalink
  7. object RichPath

    Permalink
  8. object ToBytes extends LowPriorityIOImplicits with Serializable

    Permalink
  9. implicit def asRichPath(path: Path): RichPath

    Permalink
    Definition Classes
    LowPriorityIOImplicits
  10. implicit def strAsToBytes: ToBytes[Array[Byte]]

    Permalink
    Definition Classes
    LowPriorityIOImplicits
  11. implicit def timestampOrdering: Ordering[Timestamp]

    Permalink
    Definition Classes
    LowPriorityIOImplicits

Inherited from LowPriorityIOImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped