public class TNEFNode extends Node
This Node
converts TNEF files (i.e. MS Outlook's winmail.dat mail
attachments) and MSG files (i.e. saved Outlook mailes) into RFC 822 messages
with pure Java.
Those converted messages can processed via the normal jadice server mail nodes, for instance with the EmailConversion.groovy script
Modifier and Type | Class and Description |
---|---|
static class |
TNEFNode.InputFormat
Formats this node work handle
|
Node.Cardinality
Constructor and Description |
---|
TNEFNode() |
Modifier and Type | Method and Description |
---|---|
TNEFNode.InputFormat |
getInputFormat()
Get the input format of incoming streams.
|
String |
getWorkerClassName()
Return the node's associated
NodeWorker full qualified class's
name. |
boolean |
isIgnoreOriginalMimeTypes() |
void |
setIgnoreOriginalMimeTypes(boolean ignoreOriginalMimeTypes)
Set whether the original MIME-type information should be ignored.
|
void |
setInputFormat(TNEFNode.InputFormat inputFormat)
Set the input format of incoming streams.
|
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, hashCode, initialize, prependPredecessor, remove, validateConfiguration
public String getWorkerClassName()
Node
Return the node's associated
NodeWorker
full qualified class's
name. By default, the worker class name is
This behavior can be overridden in concrete subclasses.
getWorkerClassName
in class Node
public void setInputFormat(TNEFNode.InputFormat inputFormat)
TNEFNode.InputFormat.TNEF
).inputFormat
- public TNEFNode.InputFormat getInputFormat()
TNEFNode.InputFormat.TNEF
).TNEFNode.InputFormat
public void setIgnoreOriginalMimeTypes(boolean ignoreOriginalMimeTypes)
Set whether the original MIME-type information should be ignored.
This flag indicates whether the original MIME-type information from any MIME-encoded messages
should be mistrusted. If set to true
, all MIME types are set to
StreamDescriptor.UNKNOWN_MIME_TYPE
("unknown") and the original MIME type information
is propagated using the property "PURPORTED_MIME_TYPE". This option can be used to let the
StreamAnalysisNode
determine the actual MIME types in
cases when the purported information is unreliable.
An exception from the mistrust are the multipart/*, text/* and message/* types—for those types the information must be trusted.
Default value:false
.ignoreOriginalMimeTypes
- flag if or if not to ignore the original MIME typepublic boolean isIgnoreOriginalMimeTypes()
Copyright © 2017 levigo holding gmbh. All rights reserved.