public interface FileBackedMessage extends AdaptrisMessage
Represents a message in the framework which is backed by a file on the filesystem.
Modifier and Type | Method and Description |
---|---|
java.io.File |
currentSource()
Returns the current file that is the source of the message.
|
void |
initialiseFrom(java.io.File sourceObject)
Initialise this AdaptrisMessage from an existing object.
|
addEvent, addMetadata, addMetadata, addObjectMetadata, clearMetadata, clone, containsKey, encode, equivalentForTracking, getCharEncoding, getFactory, getMessageLifecycleEvent, getMetadata, getMetadata, getMetadataValue, getMetadataValueIgnoreKeyCase, getNextServiceId, getObjectMetadata, getPayload, getPayloadForLogging, getSize, getStringPayload, removeMetadata, setCharEncoding, setMetadata, setNextServiceId, setPayload, setStringPayload, setStringPayload
addMessageHeader, addObjectHeader, getContent, getContentEncoding, getInputStream, getMessageHeaders, getObjectHeaders, getOutputStream, getReader, getUniqueId, getWriter, getWriter, headersContainsKey, removeMessageHeader, resolve, resolve, setContent, setContentEncoding, setMessageHeaders, setUniqueId, wrap
void initialiseFrom(java.io.File sourceObject) throws java.io.IOException, java.lang.RuntimeException
sourceObject
- the source file to initialise from.java.io.IOException
- wrapping any access error.java.lang.RuntimeException
java.io.File currentSource()