EntryReader

trait EntryReader[Medium]

Encapsulates logic required to read a single Context entry from a medium. Implementations of this trait must be aware of the entry they are able to read.

class Object
trait Matchable
class Any
class B3
class B3Single
class Colfer
class DataDog
class Uber

Value members

Abstract methods

def read(medium: Medium, context: Context): Context

Tries to read a Context entry from the medium. If a Context entry is successfully read, implementations must return an updated Context instance that includes such entry. If no entry could be read simply return the Context instance that was passed in, unchanged.

Tries to read a Context entry from the medium. If a Context entry is successfully read, implementations must return an updated Context instance that includes such entry. If no entry could be read simply return the Context instance that was passed in, unchanged.