public interface StringFieldDataProvider extends StringDataProvider
StringDataProvider.getStringData()
method provides data from all fields
returned by getStringDataFields()
.
Note that at least one field should always be returned by the getStringDataFields()
method, i.e. the returned array should have one non-null non-empty string value.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStringData(java.lang.String fieldName)
Returns the textual data for field
fieldName provided by this object. |
java.util.Collection<java.lang.String> |
getStringDataFields()
Returns the names of the textual data fields of this object.
|
getStringData
java.util.Collection<java.lang.String> getStringDataFields()
java.lang.String getStringData(java.lang.String fieldName) throws java.lang.IllegalArgumentException
fieldName
provided by this object.fieldName
- the name of the field the data of which to returnfieldName
java.lang.IllegalArgumentException
- if the given field name is unknown for this data provider