Package com.mimecast.robin.mx.util
Class Pair
java.lang.Object
com.mimecast.robin.mx.util.Pair
Pair key/value store.
Takes a single string input and splits by = (equals) character.
Provides validation by checking both key and value and not empty.
- Author:
- "Vlad Marian" (vmarian@mimecast.com)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
log
private static final org.apache.logging.log4j.Logger log -
key
Key string. -
value
Value string.
-
-
Constructor Details
-
Pair
Constructs a new Pair instance with given string.- Parameters:
data- The pair string in the format "key:value".
-
-
Method Details