
com.sap.cloud.sdk.result.StringExtractor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluent-result Show documentation
Show all versions of fluent-result Show documentation
Fluent API for handling result structures.
The newest version!
/*
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/
package com.sap.cloud.sdk.result;
import javax.annotation.Nonnull;
/**
* {@code ObjectExtractor} implementation transforming a given {@code ResultElement} to a {@code String}.
*/
public class StringExtractor implements ObjectExtractor
{
@Nonnull
@Override
public String extract( @Nonnull final ResultElement resultElement )
{
return resultElement.asString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy