Class RecordingsLoader

java.lang.Object
com.google.adk.plugins.recordings.RecordingsLoader

public final class RecordingsLoader extends Object
Utility class for loading recordings from YAML files.
  • Method Details

    • load

      public static Recordings load(Path path) throws IOException
      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

      public static Recordings load(InputStream inputStream) throws IOException
      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

      public static Recordings load(String yamlContent) throws IOException
      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