|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAttachmentSource
Supplies data for adding an attachment.
| Method Summary | |
|---|---|
InputStream |
getInputStream()
Gets the input stream for this attachment source. |
String |
getName()
Gets the name of the attachment source. |
int |
getSize()
Gets the size of the attachment in bytes. |
| Method Detail |
|---|
InputStream getInputStream()
throws CollaborationException,
IOException
getSize() returns -1) then it must be safe to
call this method multiple times so that we can read the stream first to
get a size.
InputStream to the attachment data
(not null)
CollaborationException - if there was a problem getting
the stream from the source
IOException - if an I/O error occurred
String getName()
throws CollaborationException
null)
CollaborationException - if there was a problem getting
the name
int getSize()
throws CollaborationException
-1 if the size is
not known, in which case it must be safe to call
getInputStream() multiple times so that we can
read the stream first to get a size
CollaborationException - if there was a problem getting
the size
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||