org.xwiki.gwt.wysiwyg.client.wiki
Class Attachment
java.lang.Object
org.xwiki.gwt.wysiwyg.client.wiki.Entity
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: 00b52fa0dc284f96d6f74b3b168075558c477fc3 $
Attachment
public Attachment()
getMimeType
public String getMimeType()
- Returns:
- the mime type of the attached file
setMimeType
public void setMimeType(String mimeType)
- Sets the mime type of the attached file.
- Parameters:
mimeType - a mime type
Copyright © 2004-2013 XWiki. All Rights Reserved.