| Modifier and Type | Field and Description |
|---|---|
static String |
AVM_PATH_SEPARATOR |
static char |
AVM_PATH_SEPARATOR_CHAR |
static String |
AVM_STORE_SEPARATOR |
static char |
AVM_STORE_SEPARATOR_CHAR |
static String |
INITIAL_SNAPSHOT |
| Constructor and Description |
|---|
AVMUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
addLeadingSlash(String relativePath) |
static String |
buildAVMPath(String storeName,
String storeRelativePath) |
static String |
extendAVMPath(String path,
String name) |
static String |
getStoreName(String avmPath)
Utility to get AVM store name from AVM path, for example "foo:/bar/baz" returns "foo"
|
static String |
normalizePath(String path) |
static String[] |
splitBase(String path)
Split a path into its parent path and its base name.
|
static String[] |
splitPath(String path)
Utility to split an AVM path, for example "foo:/bar/baz", into its AVM repository store name ("foo") and path ("/bar/baz") parts.
|
public static final char AVM_PATH_SEPARATOR_CHAR
public static final String AVM_PATH_SEPARATOR
public static final char AVM_STORE_SEPARATOR_CHAR
public static final String AVM_STORE_SEPARATOR
public static final String INITIAL_SNAPSHOT
public static String getStoreName(String avmPath)
avmPath - public static String[] splitPath(String path)
path - The fully qualified path.public static String[] splitBase(String path)
path - The initial AVM path.Copyright © 2005–2014 Alfresco Software. All rights reserved.