Class ProfileFileReader
- java.lang.Object
-
- software.amazon.awssdk.profiles.internal.ProfileFileReader
-
@SdkInternalApi public final class ProfileFileReader extends Object
Converts anInputStreamto a configuration or credentials file into a map of profiles and their properties.- See Also:
parseFile(InputStream, ProfileFile.Type)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Map<String,Map<String,String>>>parseFile(InputStream profileStream, ProfileFile.Type fileType)Parses the input and returns a mutable map from profile name to a map of properties.
-
-
-
Method Detail
-
parseFile
public static Map<String,Map<String,Map<String,String>>> parseFile(InputStream profileStream, ProfileFile.Type fileType)
Parses the input and returns a mutable map from profile name to a map of properties. This will not close the provided stream.
-
-