public class ClasspathResourceLoader extends Object implements ResourceLoader
Modifier and Type | Field and Description |
---|---|
boolean |
enabled |
Constructor and Description |
---|
ClasspathResourceLoader() |
Modifier and Type | Method and Description |
---|---|
InputStream |
getStream(String path)
Gets
InputStream from template file. |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
public InputStream getStream(String path) throws IOException
ResourceLoader
InputStream
from template file.getStream
in interface ResourceLoader
IOException
public void setEnabled(boolean enabled)
public boolean isEnabled()
isEnabled
in interface ResourceLoader
Copyright © 2015 Magnolia International Ltd.. All rights reserved.