Class TNEFNode
- java.lang.Object
-
- com.levigo.jadice.server.internal.NodeInternal
-
- com.levigo.jadice.server.Node
-
- com.levigo.jadice.server.javamail.TNEFNode
-
public class TNEFNode extends Node
ThisNode
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
- Since:
- jadice server 4.2.1.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TNEFNode.InputFormat
Formats this node work handle-
Nested classes/interfaces inherited from class com.levigo.jadice.server.Node
Node.Cardinality
-
-
Constructor Summary
Constructors Constructor Description TNEFNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TNEFNode.InputFormat
getInputFormat()
Get the input format of incoming streams.String
getWorkerClassName()
Return the node's associatedcom.levigo.jadice.server.core.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.-
Methods inherited from class com.levigo.jadice.server.Node
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, hashCode, initialize, prependPredecessor, remove, validateConfiguration
-
-
-
-
Method Detail
-
getWorkerClassName
public String getWorkerClassName()
Description copied from class:Node
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full qualified class's name. By default, the worker class name is- The same as the node name with the trailing "Node" replaced by "Worker" if the node name ends in "Node"
- The node class name with an appended "Worker" otherwise.
This behavior can be overridden in concrete subclasses.
- Overrides:
getWorkerClassName
in classNode
- Returns:
- the full qualified class name of the worker of this node.
-
setInputFormat
public void setInputFormat(TNEFNode.InputFormat inputFormat)
Set the input format of incoming streams. (default:TNEFNode.InputFormat.TNEF
).- Parameters:
inputFormat
- format of incoming streams
-
getInputFormat
public TNEFNode.InputFormat getInputFormat()
Get the input format of incoming streams. (default:TNEFNode.InputFormat.TNEF
).- Returns:
- the incoming streams'
TNEFNode.InputFormat
-
setIgnoreOriginalMimeTypes
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 toStreamDescriptor.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 thecom.levigo.jadice.server.documentplatform.StreamAnalysisNode
determine the actual MIME types in cases when the purported information is unreliable.An exception from the mistrust are the
multipart/*
,text/*
andmessage/*
types—for those types the information must be trusted. Default value:false
.- Parameters:
ignoreOriginalMimeTypes
- flag if or if not to ignore the original MIME type- Since:
- jadice server 4.3.1.6
-
isIgnoreOriginalMimeTypes
public boolean isIgnoreOriginalMimeTypes()
- Returns:
- whether the original MIME-type information should be ignored.
- Since:
- jadice server 4.3.1.6
-
-