Package org.plyct.plyex.code
Class CodeSamples
- java.lang.Object
-
- org.plyct.plyex.code.CodeSamples
-
public class CodeSamples extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]LANGUAGES
-
Constructor Summary
Constructors Constructor Description CodeSamples(Endpoint.Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>getSamples(TemplateContext context)voidreadTemplates(Endpoint.Method method)
-
-
-
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
-
-