ResourceOrigin
API.@Deprecated public class FileSystemResourceLoader extends Object implements ResourceLoader
Constructor and Description |
---|
FileSystemResourceLoader(info.magnolia.init.MagnoliaConfigurationProperties mcp)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getPath()
Deprecated.
|
InputStream |
getStream(String template)
Deprecated.
Gets
InputStream from template file. |
boolean |
isEnabled()
Deprecated.
|
void |
setEnabled(boolean enabled)
Deprecated.
|
void |
setPath(String path)
Deprecated.
|
public FileSystemResourceLoader(info.magnolia.init.MagnoliaConfigurationProperties mcp)
public InputStream getStream(String template) throws IOException
ResourceLoader
InputStream
from template file.getStream
in interface ResourceLoader
IOException
public void setEnabled(boolean enabled)
public boolean isEnabled()
isEnabled
in interface ResourceLoader
public void setPath(String path)
public String getPath()
Copyright © 2015 Magnolia International Ltd.. All rights reserved.