java.lang.Object
org.elasticsearch.xpack.core.template.resources.TemplateResources

public class TemplateResources extends Object
TemplateResources is a bridge to xpack template resource files. This class should only be used within x-pack core.
  • Method Details

    • load

      public static String load(String name) throws IOException
      Returns a template resource for the given resource path.
      Throws:
      IOException - if the resource name is not found