|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttachmentDataStream
Represents the data for an attachment.
Nested Class Summary | |
---|---|
static class |
AttachmentDataStream.FileWrapper
An AttachmentDataStream implementation that wraps a single File . |
static class |
AttachmentDataStream.InputStreamWrapper
An AttachmentDataStream implementation that wraps a raw InputStream . |
Method Summary | |
---|---|
java.io.InputStream |
getInputStream()
Obtains an InputStream for this stream. |
AttachmentDataStreamType |
getType()
|
Method Detail |
---|
AttachmentDataStreamType getType()
AttachmentDataStreamType
associated with this stream.java.io.InputStream getInputStream() throws java.io.IOException
InputStream
for this stream. It is expected that each call creates a fresh stream.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |