public class ResourceUtils extends Object
Constructor and Description |
---|
ResourceUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
createContent(OutputStream out,
com.bradmcevoy.common.Path path,
List<Folder> fldChilds,
List<Document> docChilds,
List<Mail> mailChilds)
Create HTML content.
|
static String |
fixRepositoryPath(String path) |
static Document |
fixResourcePath(Document doc)
Correct webdav document path
|
static Folder |
fixResourcePath(Folder fld)
Correct webdav folder path
|
static Mail |
fixResourcePath(Mail mail)
Correct webdav mail path
|
static com.bradmcevoy.http.Resource |
getNode(com.bradmcevoy.common.Path srcPath,
String path)
Resolve node resource (may be folder or document)
|
public static com.bradmcevoy.http.Resource getNode(com.bradmcevoy.common.Path srcPath, String path) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException
public static void createContent(OutputStream out, com.bradmcevoy.common.Path path, List<Folder> fldChilds, List<Document> docChilds, List<Mail> mailChilds)
Copyright © 2016. All rights reserved.