public interface LargeAttachmentTemplate extends AttachmentTemplate
Modifier and Type | Method and Description |
---|---|
List<LargeAttachment> |
createAttachments(List<File> files)
Формирует список больших вложений на основе указанного списка файлов
|
List<LargeAttachment> |
createAttachments(List<File> files,
List<byte[]> checkSums)
Формирует список вложений на основе указанного списка файлов с контрольными суммами
|
List<LargeAttachment> |
createAttachments(List<File> files,
List<byte[]> checkSums,
List<byte[]> personalSignatures)
Формирует список вложений на основе указанного списка файлов с контрольными суммами и подписями
|
void |
sendLargeAttachments(List<SMEVAttachment> attachments)
Отправляет вложения
|
List<LargeAttachment> createAttachments(List<File> files) throws SMEVException
createAttachments
in interface AttachmentTemplate
files
- список вкладываемых файловSMEVException
- в случае ошибкиList<LargeAttachment> createAttachments(List<File> files, List<byte[]> checkSums) throws SMEVException
files
- список вкладываемых файловcheckSums
- их контрольные суммыSMEVException
- в случае ошибкиList<LargeAttachment> createAttachments(List<File> files, List<byte[]> checkSums, List<byte[]> personalSignatures) throws SMEVException
files
- список вкладываемых файловcheckSums
- их контрольные суммыpersonalSignatures
- цифровые подписи указанных файловSMEVException
- the smev exception в случае ошибкиvoid sendLargeAttachments(List<SMEVAttachment> attachments) throws SMEVRuntimeException
attachments
- список вложенийSMEVRuntimeException
- в случае ошибки отправленияCopyright © 2017. All rights reserved.