Package software.amazon.awssdk.utils
Class StringInputStream
java.lang.Object
java.io.InputStream
java.io.ByteArrayInputStream
software.amazon.awssdk.utils.StringInputStream
- All Implemented Interfaces:
 Closeable,AutoCloseable
Simple wrapper for ByteArrayInputStream that will automatically encode the
 string as UTF-8 data, and still allows access to the original string.
- 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class java.io.ByteArrayInputStream
available, close, mark, markSupported, read, read, reset, skipMethods inherited from class java.io.InputStream
read 
- 
Constructor Details
- 
StringInputStream
 
 - 
 - 
Method Details
- 
getString
Returns the original string specified when this input stream was constructed.- Returns:
 - The original string specified when this input stream was constructed.
 
 
 -