public class DefaultTemplateLoader extends Object implements TemplateLoader
Constructor and Description |
---|
DefaultTemplateLoader() |
Modifier and Type | Method and Description |
---|---|
protected String |
getResource(String resource) |
protected InputStream |
getResourceAsStream(String resource) |
String |
load(Version serverVersion,
String resource) |
public String load(Version serverVersion, String resource) throws IOException
load
in interface TemplateLoader
IOException
protected String getResource(String resource) throws IOException
IOException
protected InputStream getResourceAsStream(String resource) throws IOException
IOException
Copyright © 2021. All rights reserved.