public class AttachmentResource extends Resource
| Constructor and Description |
|---|
AttachmentResource() |
AttachmentResource(org.exoplatform.calendar.service.Attachment data,
String basePath) |
| Modifier and Type | Method and Description |
|---|---|
static String |
decode(String path)
we can't use / character in the path due the the bug of tomcat
that doesn't allow %2F
|
static String |
encode(String id)
we can't use / character in the path due the the bug of tomcat
that doesn't allow %2F
|
String |
getMimeType() |
String |
getName() |
long |
getWeight() |
public AttachmentResource()
public AttachmentResource(org.exoplatform.calendar.service.Attachment data,
String basePath)
public static String encode(String id)
public static String decode(String path)
public String getName()
public String getMimeType()
public long getWeight()
Copyright © 2003–2017 eXo Platform SAS. All rights reserved.