public class RepositoryUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ORG_DIR |
static java.lang.String |
EXTERNAL_LINK_NAME_SUPPORTING_DOCS_LIB |
static java.lang.String |
SUPPORTING_DOCS_ROOT |
Constructor and Description |
---|
RepositoryUtils() |
Modifier and Type | Method and Description |
---|---|
static java.io.ByteArrayOutputStream |
createZipFile(java.util.Collection<RepositoryObjectItem> items)
Create ZIP file for given collection of WebDAV resources
|
static java.lang.String |
getRepositoryFileContentTypeIcon(java.lang.String contentType)
Get the icon corresponding to the given content type
|
public static final java.lang.String EXTERNAL_LINK_NAME_SUPPORTING_DOCS_LIB
public static final java.lang.String SUPPORTING_DOCS_ROOT
public static final java.lang.String DEFAULT_ORG_DIR
public static java.lang.String getRepositoryFileContentTypeIcon(java.lang.String contentType)
contentType
- public static java.io.ByteArrayOutputStream createZipFile(java.util.Collection<RepositoryObjectItem> items) throws java.lang.Exception
items
- Collection of RepositoryObjectItemsjava.lang.Exception