aQute.lib.osgi
Class Instruction
java.lang.Object
aQute.lib.osgi.Instruction
public class Instruction
- extends java.lang.Object
Constructor Summary |
Instruction(java.lang.String instruction,
boolean negated)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Instruction
public Instruction(java.lang.String instruction,
boolean negated)
matches
public boolean matches(java.lang.String value)
isNegated
public boolean isNegated()
getPattern
public java.lang.String getPattern()
getPattern
public static Instruction getPattern(java.lang.String string)
- Convert a string based pattern to a regular expression based pattern.
This is called an instruction, this object makes it easier to handle the
different cases
- Parameters:
string
-
- Returns:
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object