public interface RawData
Modifier and Type | Method and Description |
---|---|
java.lang.String |
copyCell(RawData src,
java.lang.String key)
Copies value for
key existing in src , into this provider; no-op if
src does not contain the key . |
java.lang.String |
copyNonEmptyCell(RawData src,
java.lang.String key)
Copies non-empty value for
key existing in src , into this provider;
no-op if src does not contain the key , or if it contains the
key but the value for that key is empty. |
java.lang.String |
getCell(java.lang.String key)
Returns value for key, null if key does not exist or if
key is null. |
java.util.Map<java.lang.String,java.lang.String> |
getCells()
Returns potentially empty map of key/value pairs.
|
boolean |
hasKey(java.lang.String key)
If true,
key is present. |
java.lang.String |
putCell(java.lang.String key,
java.lang.String value)
Adds the
value for key . |
java.lang.String |
putCellNonEmpty(java.lang.String key,
java.lang.String value)
Adds the
value for key if value is not empty. |
java.lang.String putCell(java.lang.String key, java.lang.String value)
value
for key
.key
- non-null, non-empty key.value
- non-null, potentially empty value for the key.java.lang.String putCellNonEmpty(java.lang.String key, java.lang.String value)
value
for key
if value
is not empty.key
- non-null, non-empty key.value
- non-null, potentially empty value for the key.java.lang.String copyCell(RawData src, java.lang.String key)
key
existing in src
, into this provider; no-op if
src
does not contain the key
.java.lang.String copyNonEmptyCell(RawData src, java.lang.String key)
key
existing in src
, into this provider;
no-op if src
does not contain the key
, or if it contains the
key
but the value for that key is empty.boolean hasKey(java.lang.String key)
key
is present.java.util.Map<java.lang.String,java.lang.String> getCells()
java.lang.String getCell(java.lang.String key)
key
is null.Copyright 2009-2016 Tatjana (Tanja) Kostic