public class ExtractMessageInformationAction extends AbstractMailAction
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_BINARY_MIMETYPE |
static String |
MESSAGE_RFC822_MIMETYPE |
Constructor and Description |
---|
ExtractMessageInformationAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(ExecutionContext context)
Executes one action.
|
Collection<String> |
getHeaderValues(Message message,
String headerName) |
reset
public static final String DEFAULT_BINARY_MIMETYPE
public static final String MESSAGE_RFC822_MIMETYPE
public boolean execute(ExecutionContext context) throws Exception
MessageAction
If it returns false, the following actions from the pipe are not executed.
execute
in interface MessageAction
execute
in class AbstractMailAction
Exception
ExecutionContext
public Collection<String> getHeaderValues(Message message, String headerName) throws MessagingException
MessagingException
Copyright © 2013 Nuxeo SA. All Rights Reserved.