info.magnolia.init.properties
Class AbstractStreamBasedPropertySource
java.lang.Object
info.magnolia.init.properties.AbstractPropertySource
info.magnolia.init.properties.AbstractStreamBasedPropertySource
- All Implemented Interfaces:
- PropertySource
- Direct Known Subclasses:
- ClasspathPropertySource, FileSystemPropertySource, ServletContextPropertySource
public abstract class AbstractStreamBasedPropertySource
- extends AbstractPropertySource
Abstract implementation of PropertySource
, providing the basic mechanisms
for loading AbstractStreamBasedPropertySource.ConstructingProperties
from a given InputStream
.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
Method Summary |
String |
describe()
Provides a description of this source, typically the location of the file
that was used to load the properties this source holds. |
AbstractStreamBasedPropertySource
protected AbstractStreamBasedPropertySource(InputStream stream,
String path)
throws IOException
- Throws:
IOException
describe
public String describe()
- Description copied from interface:
PropertySource
- Provides a description of this source, typically the location of the file
that was used to load the properties this source holds.
Useful for debugging / logging.
- Specified by:
describe
in interface PropertySource
- Overrides:
describe
in class AbstractPropertySource
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.