public class StringExtractor extends Object implements ObjectExtractor<String>
ObjectExtractor
implementation transforming a given ResultElement
to a String
.Constructor and Description |
---|
StringExtractor() |
Modifier and Type | Method and Description |
---|---|
String |
extract(ResultElement resultElement)
Extracts the value of the given
ResultElement as the type T . |
@Nonnull public String extract(@Nonnull ResultElement resultElement)
ObjectExtractor
ResultElement
as the type T
.extract
in interface ObjectExtractor<String>
resultElement
- The ResultElement
to transform.resultElement
as the given type.Copyright © 2019 SAP SE. All rights reserved.