org.norther.tammi.core.config
Interface PropertyConfigurator

All Superinterfaces:
Configurator, StreamConfigurator
All Known Implementing Classes:
DefaultPropertyConfigurator

public interface PropertyConfigurator
extends StreamConfigurator

StreamConfigurator supporting configuration from a property file.

Version:
$Id: PropertyConfigurator.java,v 1.11 2009/09/28 15:08:44 cvsimp Exp $
Author:
Ilkka Priha

Method Summary
 String getSeparator()
          Gets the default separator(s) of multivalued properties.
 void setSeparator(String separ)
          Sets the default separator(s) of multivalued properties.
 
Methods inherited from interface org.norther.tammi.core.config.StreamConfigurator
configure, configure, configure, configure, configure, configure, configure, configure, getConfigKey, setConfigKey
 
Methods inherited from interface org.norther.tammi.core.config.Configurator
configure, configure
 

Method Detail

getSeparator

String getSeparator()
Gets the default separator(s) of multivalued properties.

Returns:
the separator(s) or null.

setSeparator

void setSeparator(String separ)
Sets the default separator(s) of multivalued properties. Null disables multivalued properties, an empty string allows multiple values on separate lines (default) and other strings specify characters interpreted as separators between values.

It is recommended to control separators with the corresponding property in the property file itself.

Parameters:
separ - the separator(s).


Copyright © 2004 The Norther Organization. All rights reserved.