Class DefaultTemplateLoader

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getResource​(java.lang.String resource)  
      protected java.io.InputStream getResourceAsStream​(java.lang.String resource)  
      java.lang.String load​(Version serverVersion, java.lang.String resource)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultTemplateLoader

        public DefaultTemplateLoader()
    • Method Detail

      • load

        public java.lang.String load​(Version serverVersion,
                                     java.lang.String resource)
                              throws java.io.IOException
        Specified by:
        load in interface TemplateLoader
        Throws:
        java.io.IOException
      • getResource

        protected java.lang.String getResource​(java.lang.String resource)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • getResourceAsStream

        protected java.io.InputStream getResourceAsStream​(java.lang.String resource)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException