public static interface Document.IAttachmentProducer
Modifier and Type | Method and Description |
---|---|
long |
getSizeEstimation()
This method is called before creating the binary object in
the database to get a size estimation.
|
void |
produceAttachment(OutputStream out)
Implement this method to produce the file attachment data
|
long getSizeEstimation()
void produceAttachment(OutputStream out) throws IOException
out
- output streamIOException
- in case of I/O errorsCopyright © 2019–2021 HCL. All rights reserved.