public abstract class AbstractStreamBasedPropertySource extends AbstractPropertySource
PropertySource
, providing the basic mechanisms
for loading Properties
from a given InputStream
.Modifier and Type | Class and Description |
---|---|
static class |
AbstractStreamBasedPropertySource.ConstructingProperties
A subclass of
Properties which populates itself with a given InputStream. |
Modifier | Constructor and Description |
---|---|
protected |
AbstractStreamBasedPropertySource(InputStream stream,
String path) |
Modifier and Type | Method and Description |
---|---|
String |
describe()
Provides a description of this source, typically the location of the file
that was used to load the properties this source holds.
|
getBooleanProperty, getKeys, getProperties, getProperty, hasProperty, toString
protected AbstractStreamBasedPropertySource(InputStream stream, String path) throws IOException
IOException
public String describe()
PropertySource
describe
in interface PropertySource
describe
in class AbstractPropertySource
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.