|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttachmentInterface
Represents an attachment for a comment
Method Summary | |
---|---|
java.io.InputStream |
getContent()
Gets the source(stream) of the content for this attachment |
java.lang.String |
getDescription()
Gets the description of this attachment |
java.lang.String |
getMimeType()
Gets the MIME type of this attachment |
java.lang.String |
getName()
Gets the name of this attachment |
void |
setContent(java.io.InputStream content)
Sets the source(stream) for the content of this attachment. |
void |
setDescription(java.lang.String description)
Sets the description of this attachment |
void |
setMimeType(java.lang.String mimeType)
Sets the mime type of this attachment |
void |
setName(java.lang.String name)
Sets the name of this attachment |
Method Detail |
---|
void setName(java.lang.String name) throws java.rmi.RemoteException
name
- The name of this attachment
java.rmi.RemoteException
- in the event of remote object failure.void setDescription(java.lang.String description) throws java.rmi.RemoteException
description
- The name of this attachment
java.rmi.RemoteException
- in the event of remote object failure.void setMimeType(java.lang.String mimeType) throws java.rmi.RemoteException
mimeType
- The MIME type for this attachment
java.rmi.RemoteException
- in the event of remote object failure.void setContent(java.io.InputStream content) throws java.rmi.RemoteException
InputStreamAdapter
content
- The input stream containing the content for this attachment
java.rmi.RemoteException
- in the event of remote object failure.java.lang.String getName() throws java.rmi.RemoteException
java.rmi.RemoteException
- in the event of remote object failure.java.lang.String getDescription() throws java.rmi.RemoteException
java.rmi.RemoteException
- in the event of remote object failure.java.lang.String getMimeType() throws java.rmi.RemoteException
java.rmi.RemoteException
- in the event of remote object failure.java.io.InputStream getContent() throws java.rmi.RemoteException
java.rmi.RemoteException
- in the event of remote object failure.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |