org.norther.tammi.core.config
Interface XMLConfigurator

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

public interface XMLConfigurator
extends StreamConfigurator

StreamConfigurator supporting configuration from an XML stream.

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.