]> git.argeo.org Git - gpl/argeo-jcr.git/blob - CmsPaths.java
090ec67ef3e21fd04291596ae3387b7e66f6f341
[gpl/argeo-jcr.git] / CmsPaths.java
1 package org.argeo.cms.jcr.internal;
2
3 import java.nio.file.Path;
4
5 /** Centralises access to the default node deployment directories. */
6 @Deprecated
7 public class CmsPaths {
8 public static Path getRepoDirPath(String cn) {
9 return KernelUtils.getOsgiInstancePath(KernelConstants.DIR_REPOS + '/' + cn);
10 }
11
12 public static Path getRepoIndexesBase() {
13 return KernelUtils.getOsgiInstancePath(KernelConstants.DIR_INDEXES);
14 }
15
16 /** Singleton. */
17 private CmsPaths() {
18 }
19 }