public static LDAPFilter createSubstringFilter(String attributeType,
ByteString subInitialElement,
ArrayList<ByteString> subAnyElements,
ByteString subFinalElement)
{
return new LDAPFilter(FilterType.SUBSTRING, null, null,
attributeType, null, subInitialElement,
subAnyElements, subFinalElement, null,
false);
}