Class FileMessage
java.lang.Object
org.frankframework.stream.Message
org.frankframework.stream.FileMessage
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class Message
MESSAGE_MAX_IN_MEMORY, MESSAGE_MAX_IN_MEMORY_DEFAULT, MESSAGE_MAX_IN_MEMORY_PROPERTY, MESSAGE_SIZE_UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionFileMessage(@NonNull File file, @Nullable Charset charset) Convenience method which leverages the file attributes to fill theMessageContext.FileMessage(File file) -
Method Summary
Methods inherited from class Message
asByteArray, asByteArray, asInputSource, asInputStream, asInputStream, asMessage, asObject, asReader, asReader, asSource, asString, asString, computeDecodingCharset, copyContext, copyMessage, getCharset, getObjectId, isBinary, isEmpty, isEmpty, isFormattedErrorMessage, isNull, isNull, isRequestOfType, isSupportedType, nullMessage, nullMessage, peek, requiresStream, size, toString
-
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.
-