|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.openstack.v2_0.predicates.LinkPredicates
public class LinkPredicates
Predicates handy when working with Link Types
| Constructor Summary | |
|---|---|
LinkPredicates()
|
|
| Method Summary | |
|---|---|
static com.google.common.base.Predicate<Link> |
hrefEquals(URI href)
matches links of the given href |
static com.google.common.base.Predicate<Link> |
relationEquals(Link.Relation rel)
matches links of the given relation |
static com.google.common.base.Predicate<Link> |
typeEquals(String type)
matches links of the given type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinkPredicates()
| Method Detail |
|---|
public static com.google.common.base.Predicate<Link> relationEquals(Link.Relation rel)
rel - relation of the link
public static com.google.common.base.Predicate<Link> hrefEquals(URI href)
href -
public static com.google.common.base.Predicate<Link> typeEquals(String type)
type - ex. application/pdf
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||