|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xpn.xwiki.wysiwyg.client.util.Attachment
public class Attachment
Configuration object for an attachment, to be used to transmit data about attachments from the server to the client.
| Constructor Summary | |
|---|---|
Attachment()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getFileName()
|
java.lang.String |
getMimeType()
|
java.lang.String |
getReference()
|
java.lang.String |
getURL()
|
void |
setFileName(java.lang.String fileName)
Sets the name of the attached file. |
void |
setMimeType(java.lang.String mimeType)
Sets the mime type of the attached file. |
void |
setReference(java.lang.String reference)
|
void |
setURL(java.lang.String url)
Sets the attachment URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Attachment()
| Method Detail |
|---|
public java.lang.String getReference()
public void setReference(java.lang.String reference)
reference - the reference to setpublic java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName - a file namepublic java.lang.String getURL()
public void setURL(java.lang.String url)
url - the attachment URLpublic java.lang.String getMimeType()
public void setMimeType(java.lang.String mimeType)
mimeType - a mime type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||