eXo JCR :: Component :: Extension Service 1.15.0-CR2

org.exoplatform.services.jcr.ext.backup
Class RepositoryChainLogPathHelper

java.lang.Object
  extended by 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
static String getPath(String relativePath, String backupDirCanonicalPath)
          Will be returned absolute path.
static String getRelativePath(String path, String backupDirCanonicalPath)
          Will be returned relative path /.xml for all OS.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRelativePath

public static String getRelativePath(String path,
                                     String backupDirCanonicalPath)
                              throws MalformedURLException
Will be returned relative path /.xml for all OS.

Parameters:
path - String, path to
backupDirCanonicalPath - String, path to backup dir
Returns:
String Will be returned relative path /.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

eXo JCR :: Component :: Extension Service 1.15.0-CR2

Copyright © 2012 eXo Platform SAS. All Rights Reserved.