|
Compoze Software, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Supplies data for adding an attachment.
| Method Summary | |
java.io.InputStream |
getInputStream()
Gets the input stream for this attachment source. |
java.lang.String |
getName()
Gets the name of the attachment source. |
int |
getSize()
Gets the size of the attachment in bytes. |
| Method Detail |
public java.io.InputStream getInputStream()
throws CollaborationException,
java.io.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
java.io.IOException - if an I/O error occurred
public java.lang.String getName()
throws CollaborationException
null)
CollaborationException - if there was a problem getting
the name
public 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
|
Compoze Software, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||