public class PropertiesConfigReader<T> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
PropertiesConfigReader(PropertiesHandler<T> handler,
UnrecognizedPropertyHandler unrecognizedPropHandler,
UnrecognizedNameElementHandler unrecognizedChildHandler) |
| Modifier and Type | Method and Description |
|---|---|
static <T> PropertiesConfigReader<T> |
getInstance(PropertiesHandler<T> handler) |
static <T> PropertiesConfigReader<T> |
getInstance(PropertiesHandler<T> handler,
UnrecognizedNameElementHandler unrecognizedChildHandler) |
static <T> PropertiesConfigReader<T> |
getInstance(PropertiesHandler<T> handler,
UnrecognizedPropertyHandler unrecognizedPropHandler) |
static <T> PropertiesConfigReader<T> |
getInstance(PropertiesHandler<T> handler,
UnrecognizedPropertyHandler unrecognizedPropHandler,
UnrecognizedNameElementHandler unrecognizedChildHandler) |
protected void |
handleProperty(PropertyLine line) |
<S> T |
read(Iterable<S> config,
PropertyLineConverter<S> converter) |
T |
read(Map<String,String> props) |
T |
read(Path p) |
T |
read(Properties props) |
protected PropertiesConfigReader(PropertiesHandler<T> handler, UnrecognizedPropertyHandler unrecognizedPropHandler, UnrecognizedNameElementHandler unrecognizedChildHandler) throws PropertiesConfigReaderException
PropertiesConfigReaderExceptionpublic static <T> PropertiesConfigReader<T> getInstance(PropertiesHandler<T> handler) throws PropertiesConfigReaderException
PropertiesConfigReaderExceptionpublic static <T> PropertiesConfigReader<T> getInstance(PropertiesHandler<T> handler, UnrecognizedPropertyHandler unrecognizedPropHandler) throws PropertiesConfigReaderException
PropertiesConfigReaderExceptionpublic static <T> PropertiesConfigReader<T> getInstance(PropertiesHandler<T> handler, UnrecognizedNameElementHandler unrecognizedChildHandler) throws PropertiesConfigReaderException
PropertiesConfigReaderExceptionpublic static <T> PropertiesConfigReader<T> getInstance(PropertiesHandler<T> handler, UnrecognizedPropertyHandler unrecognizedPropHandler, UnrecognizedNameElementHandler unrecognizedChildHandler) throws PropertiesConfigReaderException
PropertiesConfigReaderExceptionpublic T read(Path p) throws PropertiesConfigReaderException
PropertiesConfigReaderExceptionpublic T read(Properties props) throws PropertiesConfigReaderException
PropertiesConfigReaderExceptionpublic T read(Map<String,String> props) throws PropertiesConfigReaderException
PropertiesConfigReaderExceptionpublic <S> T read(Iterable<S> config, PropertyLineConverter<S> converter) throws PropertiesConfigReaderException
PropertiesConfigReaderExceptionprotected void handleProperty(PropertyLine line) throws PropertiesConfigReaderException
PropertiesConfigReaderExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.