public interface AttachmentDataStream
| Modifier and Type | Interface and Description |
|---|---|
static class |
AttachmentDataStream.FileWrapper
An
AttachmentDataStream implementation that wraps a single File. |
static class |
AttachmentDataStream.InputStreamWrapper
An
AttachmentDataStream implementation that wraps a raw InputStream. |
static class |
AttachmentDataStream.RandomFileWrapper |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
Obtains an
InputStream for this stream. |
AttachmentDataStreamType |
getType() |
AttachmentDataStreamType getType()
AttachmentDataStreamType associated with this stream.InputStream getInputStream() throws IOException
InputStream for this stream. It is expected that each call creates a fresh stream.IOExceptionCopyright © 2003–2021 Atlassian. All rights reserved.