Class PracticalExampleProvider

java.lang.Object
com.illumon.iris.console.PracticalExampleProvider

public class PracticalExampleProvider extends Object
  • Method Details

    • initRepo

      public static String initRepo() throws Exception
      Ensures the practical examples repo is initialized, pulled, and checked out to the correct branch.
      Throws:
      Exception
    • getFileContent

      public static String getFileContent(Path path) throws IOException
      Grabs the content of an example but first makes sure that the example exists
      Parameters:
      path -
      Returns:
      Throws:
      IOException
    • getVersion

      public static String getVersion()