public final class StringComparisonField extends ComparisonField
Represents the string search field.
FieldName, owner
Modifier and Type | Method and Description |
---|---|
MailQuery |
contains(String value)
Indicates that field in message
must contain the specified value.
|
MailQuery |
contains(String value,
boolean ignoreCase)
Indicates that field in message
must contain the specified value.
|
MailQuery |
empty()
Indicates that field in message must be empty.
|
MailQuery |
equals(String value)
Indicates that field in message must be
equal to the specified value.
|
MailQuery |
equals(String value,
boolean ignoreCase)
Indicates that field in message must be
equal to the specified value.
|
int |
hashCode()
hashCode.
|
MailQuery |
notContains(String value)
Indicates that field in message must not
contain the specified value.
|
MailQuery |
notContains(String value,
boolean ignoreCase)
Indicates that field in message must not
contain the specified value.
|
MailQuery |
notEmpty()
Indicates that field in message must not be empty.
|
MailQuery |
notEquals(String value)
Indicates that field in message must not be
equal to the specified value.
|
MailQuery |
notEquals(String value,
boolean ignoreCase)
Indicates that field in message must not be
equal to the specified value.
|
createKey
public MailQuery contains(String value)
Indicates that field in message must contain the specified value.
value
- The value.MailQuery
that represents search query
(one searching criterion).public MailQuery contains(String value, boolean ignoreCase)
Indicates that field in message must contain the specified value.
value
- The value.ignoreCase
- true to ignore case during the comparison; otherwise, false.MailQuery
that represents search query
(one searching criterion).com.aspose.ms.System.ArgumentNullException
- value;Field value should not be null or emptypublic MailQuery notContains(String value)
Indicates that field in message must not contain the specified value.
value
- The value.MailQuery
that represents search query
(one searching criterion).public MailQuery notContains(String value, boolean ignoreCase)
Indicates that field in message must not contain the specified value.
value
- The value.ignoreCase
- true to ignore case during the comparison; otherwise, false.MailQuery
that represents search query
(one searching criterion).public MailQuery equals(String value)
Indicates that field in message must be equal to the specified value.
value
- The value.MailQuery
that represents search query
(one searching criterion).public MailQuery equals(String value, boolean ignoreCase)
Indicates that field in message must be equal to the specified value.
value
- The value.ignoreCase
- true to ignore case during the comparison; otherwise, false.MailQuery
that represents search query
(one searching criterion).public MailQuery notEquals(String value)
Indicates that field in message must not be equal to the specified value.
value
- The value.MailQuery
that represents search query
(one searching criterion).public MailQuery notEquals(String value, boolean ignoreCase)
Indicates that field in message must not be equal to the specified value.
value
- The value.ignoreCase
- true to ignore case during the comparison; otherwise, false.MailQuery
that represents search query
(one searching criterion).public MailQuery empty()
Indicates that field in message must be empty.
MailQuery
that represents search query
(one searching criterion).public MailQuery notEmpty()
Indicates that field in message must not be empty.
MailQuery
that represents search query
(one searching criterion).Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.