public final class Resource extends Object implements Comparable<Resource>
Resource defines a resource location in the repository| Modifier and Type | Field and Description |
|---|---|
static Resource |
ROOT
Represents the base
Resource in the repository |
| Modifier and Type | Method and Description |
|---|---|
Resource |
append(Resource resource)
|
int |
compareTo(Resource other) |
static Resource |
create(String path)
Create a new
Resource instance for the given value |
boolean |
equals(Object obj) |
Resource |
getParent()
|
String |
getValue()
|
String |
getValueWithoutLeadingSeparator()
|
int |
hashCode() |
String |
toString() |
public static Resource create(String path)
Resource instance for the given valuepublic int compareTo(Resource other)
compareTo in interface Comparable<Resource>public String getValueWithoutLeadingSeparator()
Copyright © 2013–2014 shadowhunt. All rights reserved.