public static class CalendarQuery.ExtendedPropertyMatch extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
EXT_PROP_QUERY_PATTERN
A pattern that matches exactly one extended property query within
a compound extended property query.
|
static int |
MAX_EXTENDED_PROPERTY_NAME_LENGTH
The maximum length of an extended property name.
|
static int |
MAX_EXTENDED_PROPERTY_VALUE_LENGTH
The maximum length of an extended property value (after escaped
characters have been converted into plain characters, e.g.
|
static String |
PROPERTY_NAME_REGEX
A regex describing the format of extended property names.
|
static String |
PROPERTY_VALUE_REGEX
A regex describing the format of extended property values.
|
static String |
SINGLE_EXT_PROP_QUERY_REGEX
Group 1: property name (without :'s and ='s).
|
| Constructor and Description |
|---|
CalendarQuery.ExtendedPropertyMatch(String name,
String value) |
| Modifier and Type | Method and Description |
|---|---|
static CalendarQuery.ExtendedPropertyMatch[] |
arrayFromExtendedPropertyQueryString(String extqQuery)
Converts strings of the form "[foo:bar][baz:bin]" to a map of
"foo"->"bar" and "baz"->"bin".
|
boolean |
equals(Object other) |
String |
getExpression() |
String |
getName() |
int |
hashCode() |
String |
toString() |
public static final int MAX_EXTENDED_PROPERTY_NAME_LENGTH
public static final int MAX_EXTENDED_PROPERTY_VALUE_LENGTH
public static final String PROPERTY_NAME_REGEX
public static final String PROPERTY_VALUE_REGEX
public static final String SINGLE_EXT_PROP_QUERY_REGEX
public static final Pattern EXT_PROP_QUERY_PATTERN
"[foo:bar][baz:"bin"]", it will consecutively match:
public CalendarQuery.ExtendedPropertyMatch(String name, String value)
name - extended property name. May contain up to 44 characters and
may not contain ':' or '=' characters.value - to match against the name extended
property. May contain up to 1024 characters.public String getName()
public String getExpression()
public static CalendarQuery.ExtendedPropertyMatch[] arrayFromExtendedPropertyQueryString(String extqQuery)
extqQuery - a non-null query string.CalendarQuery.ExtendedPropertyMatch.IllegalArgumentException - whenever the extended property query
syntax passed in is invalid.Copyright © 2012. All Rights Reserved.