Class CodeSamples


  • public class CodeSamples
    extends java.lang.Object
    • Field Detail

      • LANGUAGES

        public static final java.lang.String[] LANGUAGES
    • Constructor Detail

      • CodeSamples

        public CodeSamples​(Endpoint.Method method)
                    throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • readTemplates

        public void readTemplates​(Endpoint.Method method)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • getSamples

        public java.util.Map<java.lang.String,​java.lang.String> getSamples​(TemplateContext context)
                                                                          throws java.io.IOException
        Throws:
        java.io.IOException