org.xwiki.gwt.wysiwyg.client.wiki
Class Attachment

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.wiki.Entity
      extended by org.xwiki.gwt.wysiwyg.client.wiki.Attachment
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class Attachment
extends Entity

Configuration object for an attachment, to be used to transmit data about attachments from the server to the client.

Version:
$Id: Attachment.java 28844 2010-05-12 13:22:39Z mflorea $

Constructor Summary
Attachment()
           
 
Method Summary
 java.lang.String getMimeType()
           
 void setMimeType(java.lang.String mimeType)
          Sets the mime type of the attached file.
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.wiki.Entity
equals, getReference, getUrl, hashCode, setReference, setUrl
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attachment

public Attachment()
Method Detail

getMimeType

public java.lang.String getMimeType()
Returns:
the mime type of the attached file

setMimeType

public void setMimeType(java.lang.String mimeType)
Sets the mime type of the attached file.

Parameters:
mimeType - a mime type


Copyright © 2004-2011 XWiki. All Rights Reserved.