Class RepositoryChainLogPathHelper
- java.lang.Object
-
- org.exoplatform.services.jcr.ext.backup.RepositoryChainLogPathHelper
-
public class RepositoryChainLogPathHelper extends Object
Created by The eXo Platform SAS.
Date: 2011- Version:
- $Id$
- Author:
- Alex Reshetnyak
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetPath(String relativePath, String backupDirCanonicalPath)Will be returned absolute path.static StringgetRelativePath(String path, String backupDirCanonicalPath)Will be returned relative path {name}/{name}.xml for all OS.
-
-
-
Method Detail
-
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
-
-