Class FileContentStreamProvider
java.lang.Object
software.amazon.awssdk.core.internal.sync.FileContentStreamProvider
- All Implemented Interfaces:
ContentStreamProvider
@SdkInternalApi
public final class FileContentStreamProvider
extends Object
implements ContentStreamProvider
ContentStreamProvider implementation for files.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awssdk.http.ContentStreamProvider
ContentStreamProvider.ProviderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()Each ContentStreamProvider should return a well-formed name that can be used to identify the implementation.
-
Constructor Details
-
FileContentStreamProvider
-
-
Method Details
-
newStream
- Specified by:
newStreamin interfaceContentStreamProvider- Returns:
- The content stream.
-
name
Description copied from interface:ContentStreamProviderEach ContentStreamProvider should return a well-formed name that can be used to identify the implementation. The stream name should only include alphanumeric characters.- Specified by:
namein interfaceContentStreamProvider- Returns:
- String containing the identifying name of this ContentStreamProvider implementation.
-