Package org.frankframework.stream
Class FileMessage
java.lang.Object
org.frankframework.stream.Message
org.frankframework.stream.FileMessage
- All Implemented Interfaces:
Closeable
,Serializable
,AutoCloseable
- See Also:
-
Field Summary
Fields inherited from class org.frankframework.stream.Message
MESSAGE_MAX_IN_MEMORY_DEFAULT, MESSAGE_MAX_IN_MEMORY_PROPERTY, MESSAGE_SIZE_UNKNOWN
-
Constructor Summary
ConstructorsConstructorDescriptionFileMessage
(File file) FileMessage
(File file, Charset charset) Convenience method which leverages the file attributes to fill theMessageContext
. -
Method Summary
Methods inherited from class org.frankframework.stream.Message
asByteArray, asByteArray, asInputSource, asInputStream, asInputStream, asMessage, asObject, asReader, asReader, assertNotClosed, asSource, asString, asString, captureBinaryStream, captureBinaryStream, captureBinaryStream, captureCharacterStream, captureCharacterStream, captureCharacterStream, close, closeOnCloseOf, computeDecodingCharset, copyContext, copyMessage, getCharset, getObjectId, hasDataAvailable, isBinary, isEmpty, isEmpty, isNull, isNull, isRepeatable, isRequestOfType, isScheduledForCloseOnExitOf, nullMessage, nullMessage, peek, preserve, requiresStream, size, toString, unscheduleFromCloseOnExitOf
-
Constructor Details
-
FileMessage
-
FileMessage
Convenience method which leverages the file attributes to fill theMessageContext
.Ensures that whatever was written, will be read in an identical way. Potential conversions to other types should be delegated to Message.
-