TnefExtract

object TnefExtract
class Object
trait Matchable
class Any

Value members

Concrete methods

def extractSingle[F[_]](a: Attachment[F])(`evidence$3`: Async[F]): Stream[F, Attachment[F]]

Return the list of attachments if the given attachment is a tnef file, otherwise return the input

Return the list of attachments if the given attachment is a tnef file, otherwise return the input

def fromInputStream[F[_]](in: InputStream)(`evidence$1`: Applicative[F]): Vector[Attachment[F]]

Extracts the winmail.dat given as input stream file into a list of attachments.

Extracts the winmail.dat given as input stream file into a list of attachments.

def fromStream[F[_]](data: Stream[F, Byte])(`evidence$2`: Async[F]): Stream[F, Attachment[F]]

Extracts the winmail.dat file given as a stream of bytes into a list of attachments.

Extracts the winmail.dat file given as a stream of bytes into a list of attachments.

def replace[F[_]](mail: Mail[F])(`evidence$4`: Async[F]): F[Mail[F]]

Go through the mail's attachments and replace each tnef attachment with its inner attachments.

Go through the mail's attachments and replace each tnef attachment with its inner attachments.