public interface LargeAttachmentTransport
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Отменяет текущую операцию загрузки
|
boolean |
download(LargeAttachment attachment,
OutputStream output)
Загружает вложение из СМЭВ в указанный выходной поток
|
void |
upload(LargeAttachment attachment)
Загружает указанное вложение в СМЭВ
|
boolean download(LargeAttachment attachment, OutputStream output) throws IOException, SMEVException
attachment
- описание вложенияoutput
- куда записать содержимое файла-вложенияIOException
- в случае ошибки ввода-выводаSMEVException
- в случае других ошибокvoid upload(LargeAttachment attachment) throws SMEVRuntimeException
attachment
- описание вложенияSMEVRuntimeException
- в случае ошибокvoid cancel()
Copyright © 2017. All rights reserved.