Class RecordingsLoader
java.lang.Object
com.google.adk.plugins.recordings.RecordingsLoader
Utility class for loading recordings from YAML files.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Recordingsload(InputStream inputStream) Loads recordings from a YAML input stream.static RecordingsLoads recordings from a YAML string.static RecordingsLoads recordings from a YAML file.
-
Method Details
-
load
Loads recordings from a YAML file.- Parameters:
path- the path to the YAML file- Returns:
- the parsed Recordings object
- Throws:
IOException- if an I/O error occurs
-
load
Loads recordings from a YAML input stream.- Parameters:
inputStream- the YAML input stream- Returns:
- the parsed Recordings object
- Throws:
IOException- if an I/O error occurs
-
load
Loads recordings from a YAML string.- Parameters:
yamlContent- the YAML content as a string- Returns:
- the parsed Recordings object
- Throws:
IOException- if an I/O error occurs
-