public class RepoPathFactory extends Object
Constructor and Description |
---|
RepoPathFactory() |
Modifier and Type | Method and Description |
---|---|
static RepoPath |
create(String rpp)
Constructs a RepoPath from a path containing both repo key and the relative path in the repo.
|
static RepoPath |
create(String repoKey,
String path)
Constructs a RepoPath from the input repo key and optional path.
|
public static RepoPath create(String repoKey, String path)
RepoPath.isFolder()
will return true)repoKey
- The key of any repopath
- The relative path inside the repo (empty for root repo path)public static RepoPath create(String rpp)
RepoPath.isFolder()
will return true)rpp
- - {repoKey}/{itemRelativePath}Copyright © 2015. All rights reserved.