allensoft.javacvs.client
Class KeywordSubstitutionMode
java.lang.Object
|
+--allensoft.javacvs.client.KeywordSubstitutionMode
- public final class KeywordSubstitutionMode
- extends java.lang.Object
Defines the keyword substituation modes. These are the -k options that
can be specified (i.e. -kkv, -kkvl, -kk, -ko, -kb, -kv).
Method Summary |
static KeywordSubstitutionMode |
getMode(java.lang.String sMode)
Gets a keyword substitution mode from the supplied string (e.g "-kb"). |
java.lang.String |
toString()
Gets the string representation of this substitution mode. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NOT_DEFINED
public static final KeywordSubstitutionMode NOT_DEFINED
KKV
public static final KeywordSubstitutionMode KKV
KKVL
public static final KeywordSubstitutionMode KKVL
KK
public static final KeywordSubstitutionMode KK
KO
public static final KeywordSubstitutionMode KO
KB
public static final KeywordSubstitutionMode KB
KV
public static final KeywordSubstitutionMode KV
toString
public java.lang.String toString()
- Gets the string representation of this substitution mode. For example "-kb".
- Overrides:
toString
in class java.lang.Object
getMode
public static KeywordSubstitutionMode getMode(java.lang.String sMode)
throws InvalidKeywordSubstitutionModeException
- Gets a keyword substitution mode from the supplied string (e.g "-kb").
- Throws:
InvalidKeywordSubstitutionModeException
- if the keyword substitution mode is not recognized.