Brooklyn

brooklyn.util.text
[Java] Class StringPredicates

java.lang.Object
  brooklyn.util.text.StringPredicates

public class StringPredicates

Nested Class Summary
static class StringPredicates.EqualToAny

 
Method Summary
static Predicate containsLiteral(java.lang.String fragment)

static Predicate containsLiteralCaseInsensitive(java.lang.String fragment)

static Predicate containsRegex(java.lang.String regex)

static Predicate equalToAny(java.lang.Iterable vals)

static Predicate isStringStartingWith(java.lang.String prefix)

true if the object *is* a string starting with the given prefix

static Predicate startsWith(java.lang.String prefix)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

containsLiteral

public static Predicate containsLiteral(java.lang.String fragment)


containsLiteralCaseInsensitive

public static Predicate containsLiteralCaseInsensitive(java.lang.String fragment)


containsRegex

public static Predicate containsRegex(java.lang.String regex)


equalToAny

public static Predicate equalToAny(java.lang.Iterable vals)


isStringStartingWith

public static Predicate isStringStartingWith(java.lang.String prefix)
true if the object *is* a string starting with the given prefix


startsWith

public static Predicate startsWith(java.lang.String prefix)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.