@Deprecated public interface IAttachments
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getReader(String key)
Deprecated.
Getting reader
|
OutputStream |
getWriter(String key,
String contentType)
Deprecated.
Getting writer
|
void |
setWriter(String key)
Deprecated.
Setting Writer
|
InputStream getReader(String key) throws ConnectionException
key - path to the data on serverConnectionException - if any connection problems occurOutputStream getWriter(String key, String contentType) throws ConnectionException
key - path to the data on servercontentType - Content-type of HTTP headerConnectionException - if any connection problems occurvoid setWriter(String key) throws ConnectionException, AttachmentLengthException
key - path to the data on serverConnectionException - if any problem appears with connection to
serverAttachmentLengthException - attachment too bigCopyright © 2016 VersionOne, Inc.. All rights reserved.