|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xpn.xwiki.plugin.webdav.utils.XWikiDavUtils
public final class XWikiDavUtils
Holds all utility methods / variable for the webdav module.
| Nested Class Summary | |
|---|---|
static interface |
XWikiDavUtils.BaseViews
An interface for collecting all base views. |
| Field Summary | |
|---|---|
static java.lang.String |
URL_SEPARATOR
Path separator character. |
static java.lang.String |
VIRTUAL_DIRECTORY_POSTFIX
Post-fix used to indicate the beginning of a virtual grouping. |
static java.lang.String |
VIRTUAL_DIRECTORY_PREFIX
Prefix used to indicate the beginning of a virtual grouping. |
static java.lang.String |
XWIKI_ATTACHMENT_SIGNATURE
Signature used to identify an attachment url. |
static java.lang.String |
XWIKI_WEBDAV_SIGNATURE
Signature used to identify a webdav url. |
| Method Summary | |
|---|---|
static java.lang.String |
getDavURL(Document doc,
Attachment attachment)
|
static int |
getSubViewNameLength(int totalDocumentCount)
Calculates the length of a subview (for groupings) given the total document count. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String URL_SEPARATOR
public static final java.lang.String VIRTUAL_DIRECTORY_PREFIX
public static final java.lang.String VIRTUAL_DIRECTORY_POSTFIX
public static final java.lang.String XWIKI_ATTACHMENT_SIGNATURE
public static final java.lang.String XWIKI_WEBDAV_SIGNATURE
| Method Detail |
|---|
public static int getSubViewNameLength(int totalDocumentCount)
totalDocumentCount - Total document count.
public static java.lang.String getDavURL(Document doc,
Attachment attachment)
doc - The Document having the attachment.attachment - The Attachment.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||