Package

spinoco.protocol.mail.header

codec

Permalink

package codec

Created by pach on 17/10/17.

Source
codec.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. codec
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. object DateTimeCodec

    Permalink
  2. object EmailAddressCodec

    Permalink

    Codec for email address

  3. object EmailHeaderCodec

    Permalink
  4. object RFC2047Codec

    Permalink

    Created by pach on 23/10/17.

  5. val atomString: Codec[String]

    Permalink

    string that is encoded as atom *

  6. def cfwsSeparated[A](codec: Codec[A]): Codec[(A, List[A])]

    Permalink

    Decodes A where the individual items are separated by folding whitespace as per RFC.

    Decodes A where the individual items are separated by folding whitespace as per RFC. Encodes by inserting \r\n (CFWS) between individual items.

    Individual A encodings may not contain whitespace character.

  7. def commaSeparated[A](codec: Codec[A], fold: Boolean): Codec[(A, List[A])]

    Permalink

    Creates a codec, that decodes list of comma separated values.

    Creates a codec, that decodes list of comma separated values.

    There must be at least one A decoded for this to succeed

    fold

    If true, then folding whitespace is inserted while encoding.

  8. val dotAtomString: Codec[String]

    Permalink

    string that is encoded as dot-atom *

  9. def isAtomChar(c: Char): Boolean

    Permalink
  10. def isAtomDotChar(c: Char): Boolean

    Permalink
  11. val keyword: Codec[String]

    Permalink
  12. val msgIdCodec: Codec[@@[String, Message-ID]]

    Permalink
  13. val quotedString: Codec[String]

    Permalink

    quoted string *

  14. def toMsgIdCodec(c: Codec[String]): Codec[@@[String, Message-ID]]

    Permalink
  15. def verifyAtom(pred: (String) ⇒ Boolean)(s: String): Attempt[String]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped