Class RepositoryChainLogPathHelper
java.lang.Object
org.exoplatform.services.jcr.ext.backup.RepositoryChainLogPathHelper
Created by The eXo Platform SAS.
Date: 2011
Date: 2011
- Version:
- $Id$
- Author:
- Alex Reshetnyak
-
Method Summary
-
Method Details
-
getRelativePath
public static String getRelativePath(String path, String backupDirCanonicalPath) throws MalformedURLException Will be returned relative path {name}/{name}.xml for all OS.- Parameters:
path- String, path tobackupDirCanonicalPath- String, path to backup dir- Returns:
- String Will be returned relative path {name}/{name}.xml for all OS
- Throws:
MalformedURLException
-
getPath
public static String getPath(String relativePath, String backupDirCanonicalPath) throws MalformedURLException Will be returned absolute path.- Parameters:
relativePath- String, relative path.backupDirCanonicalPath- String, path to backup dir- Returns:
- String Will be returned absolute path.
- Throws:
MalformedURLException
-