TnefExtract

emil.tnef.TnefExtract
object TnefExtract

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def extractSingle[F[_] : Async](a: Attachment[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

Attributes

def fromInputStream[F[_] : Applicative](in: InputStream): 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.

Attributes

def fromStream[F[_] : Async](data: Stream[F, Byte]): 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.

Attributes

def replace[F[_] : Async](mail: Mail[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.

Attributes