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 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 to
      backupDirCanonicalPath - 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