public class JcrURL extends Object implements Serializable
| Constructor and Description |
|---|
JcrURL() |
JcrURL(String repository,
String workspace,
String path)
Creates locator.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContext() |
String |
getPath()
Gets node path encoded in this locator.
|
String |
getRepository()
Gets repository name encoded in this locator.
|
String |
getWorkspace()
Gets workspace name encoded in this locator.
|
void |
parse(String uri)
Parses given URL and extracts repository name, workspace and path.
|
void |
parse2(String uri)
Parses given URL and extracts repository name, workspace and path.
|
void |
setPath(String path)
Modify node path.
|
void |
setRepository(String repository) |
void |
setWorkspace(String workspace) |
String |
toString() |
public JcrURL()
public String getContext()
public String getRepository()
public void setRepository(String repository)
public String getWorkspace()
public void setWorkspace(String workspace)
public String getPath()
public void parse2(String uri)
uri - URL started with http prefix.public void parse(String uri)
uri - URL started with prefix.Copyright © 2008–2018 JBoss, a division of Red Hat. All rights reserved.