public class Servlets extends Object
| Constructor and Description |
|---|
Servlets() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createFolder(String name,
String description,
String parentPath)
Create a folder
|
static Boolean |
delete(String absPath)
Delete files or folder
|
static String |
getCredentials()
Get jackrabbit credentials
|
static List<String> |
listFolder(String absPath)
List content of a folder
|
static String |
upload(String path,
String name,
String description,
String parentPath,
String charset)
Save a file
|
public static String getCredentials()
public static Boolean delete(String absPath) throws Exception
absPath - absolute path of the item to deleteExceptionpublic static String upload(String path, String name, String description, String parentPath, String charset) throws Exception
path - name - description - parentPath - Exceptionpublic static String createFolder(String name, String description, String parentPath) throws Exception
name - description - parentPath - ExceptionCopyright © 2016. All Rights Reserved.