@Deprecated public final class Path extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SELECTOR_DELIMITER
Deprecated.
since 5.5.3, use
SelectorUtil.SELECTOR_DELIMITER instead. |
Modifier and Type | Method and Description |
---|---|
static String |
getAbsoluteFileSystemPath(String path)
Deprecated.
since 5.5.3, use
FileSystemHelper.getAppRootDir() |
static String |
getAbsolutePath(String path)
Deprecated.
since 5.5.3 without replacement
|
static String |
getAbsolutePath(String path,
String label)
Deprecated.
since 5.5.3, use
NodeUtil.getAbsolutePath(String, String) |
static File |
getAppRootDir()
Deprecated.
since 5.5.3, use
FileSystemHelper.getAppRootDir() |
static File |
getCacheDirectory()
Deprecated.
since 5.5.3 without replacement.
|
static String |
getCacheDirectoryPath()
Deprecated.
since 5.5.3 without replacement.
|
static File |
getHistoryFile()
Deprecated.
since 5.5.3 without replacement
|
static String |
getHistoryFilePath()
Deprecated.
since 5.5.3 without replacement
|
static File |
getRepositoriesConfigFile()
Deprecated.
since 5.5.3 without replacement
DefaultRepositoryManager.loadRepositories() and ConfigUtil |
static String |
getRepositoriesConfigFilePath()
Deprecated.
since 5.5.3 without replacement
DefaultRepositoryManager.loadRepositories() and ConfigUtil |
static File |
getTempDirectory()
Deprecated.
since 5.5.3, use
FileSystemHelper.getTempDirectory() instead. |
static String |
getTempDirectoryPath()
Deprecated.
since 5.5.3, use
FileSystemHelper.getTempDirectory() and File.getAbsolutePath() instead. |
static String |
getUniqueLabel(javax.jcr.Node parent,
String label)
Deprecated.
since 5.5.3, use
NodeNameHelper.getUniqueName(Node, String) |
static String |
getUniqueLabel(javax.jcr.Session session,
String parentPath,
String label)
Deprecated.
since 5.5.3, use
NodeNameHelper.getUniqueName(Session, String, String) instead |
static String |
getUniqueLabel(javax.jcr.Session session,
String parentPath,
String label,
String extension)
Deprecated.
since 5.5.3, use
NodeNameHelper.getUniqueName(Session, String, String, String) |
static String |
getValidatedLabel(String label)
Deprecated.
since 5.5.3, use
NodeNameHelper.getValidatedName(String) |
static String |
getValidatedLabel(String label,
String charset)
Deprecated.
since 5.5.3, use
NodeNameHelper.getValidatedName(String, String) |
static boolean |
isAbsolute(String path)
Deprecated.
since 5.5.3
for file system operation use for example
Path.isAbsolute()
jcr just simply check if path starts with "/" |
static boolean |
isCharValid(int charCode,
String charset)
Deprecated.
since 5.5.3, without replacement (this method never meant to be public)
|
public static final String SELECTOR_DELIMITER
SelectorUtil.SELECTOR_DELIMITER
instead.public static String getCacheDirectoryPath()
public static File getCacheDirectory()
public static String getTempDirectoryPath()
FileSystemHelper.getTempDirectory()
and File.getAbsolutePath()
instead.public static File getTempDirectory()
FileSystemHelper.getTempDirectory()
instead.public static String getHistoryFilePath()
MagnoliaConfigurationProperties.MAGNOLIA_EXCHANGE_HISTORY
file set in magnolia properties.public static File getHistoryFile()
public static String getRepositoriesConfigFilePath()
DefaultRepositoryManager.loadRepositories()
and ConfigUtil
public static File getRepositoriesConfigFile()
DefaultRepositoryManager.loadRepositories()
and ConfigUtil
public static File getAppRootDir()
FileSystemHelper.getAppRootDir()
public static String getAbsoluteFileSystemPath(String path)
FileSystemHelper.getAppRootDir()
public static String getUniqueLabel(javax.jcr.Session session, String parentPath, String label) throws javax.jcr.RepositoryException
NodeNameHelper.getUniqueName(Session, String, String)
insteadjavax.jcr.RepositoryException
public static String getUniqueLabel(javax.jcr.Session session, String parentPath, String label, String extension) throws javax.jcr.RepositoryException
NodeNameHelper.getUniqueName(Session, String, String, String)
javax.jcr.RepositoryException
public static String getUniqueLabel(javax.jcr.Node parent, String label)
NodeNameHelper.getUniqueName(Node, String)
public static boolean isAbsolute(String path)
Path.isAbsolute()
jcr just simply check if path starts with "/"public static String getValidatedLabel(String label)
NodeNameHelper.getValidatedName(String)
public static String getValidatedLabel(String label, String charset)
NodeNameHelper.getValidatedName(String, String)
public static boolean isCharValid(int charCode, String charset)
public static String getAbsolutePath(String path, String label)
NodeUtil.getAbsolutePath(String, String)
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.