java.lang.Object
com.priint.pubserver.comet.entity.template.Template

public class Template extends Object
The Class Template.
  • Constructor Details

    • Template

      public Template()
  • Method Details

    • getTemplateDescriptor

      public static Template.TemplateDescriptor getTemplateDescriptor(Class<? extends CometTemplate> clazz)
      Gets the template descriptor.
      Parameters:
      clazz - the clazz
      Returns:
      the template descriptor
    • getTemplateDescriptor

      public static Template.TemplateDescriptor getTemplateDescriptor(String kind)
      Gets the template descriptor.
      Parameters:
      kind - the kind
      Returns:
      the template descriptor
    • getTemplateKind

      public static String getTemplateKind(Class<? extends CometTemplate> clazz)
      Gets the template kind.
      Parameters:
      clazz - the clazz
      Returns:
      the template kind