public class SimpleFilter extends Object
Modifier and Type | Field and Description |
---|---|
static int |
AND |
static int |
APPROX |
static int |
EQ |
static int |
GTE |
static int |
LTE |
static int |
MATCH_ALL |
static int |
NOT |
static int |
OR |
static int |
PRESENT |
static int |
SUBSTRING |
Constructor and Description |
---|
SimpleFilter(String attr,
Object value,
int op) |
Modifier and Type | Method and Description |
---|---|
static boolean |
compareSubstring(List<String> pieces,
String s) |
String |
getName() |
int |
getOperation() |
Object |
getValue() |
boolean |
matches(Dictionary dict) |
static SimpleFilter |
parse(String filter) |
static List<String> |
parseSubstring(String value) |
String |
toString() |
static void |
unparseSubstring(StringBuilder sb,
List<String> pieces) |
public static final int MATCH_ALL
public static final int AND
public static final int OR
public static final int NOT
public static final int EQ
public static final int LTE
public static final int GTE
public static final int SUBSTRING
public static final int PRESENT
public static final int APPROX
public String getName()
public Object getValue()
public int getOperation()
public static SimpleFilter parse(String filter) throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxException
public static void unparseSubstring(StringBuilder sb, List<String> pieces)
public boolean matches(Dictionary dict)
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.