public class FoConfiguration extends Object
Constructor and Description |
---|
FoConfiguration()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MutableAttributeSet |
getAttributeSet(String attributeId)
Builds a set of attributes.
|
String |
getAttributeString(String attributeId)
Builds a list of attributes.
|
void |
load(File configFile)
Load configuration parameters from a File.
|
public FoConfiguration()
public void load(File configFile) throws IOException
configFile
- the configuration file.IOException
- if the File cannot be read
or some error occurs when initializing the configuration parameters.public String getAttributeString(String attributeId)
attributeId
- A unique id to identify the set of attributes.
This should correspond to the name of an attribute-set
defined in the configuration file.public MutableAttributeSet getAttributeSet(String attributeId)
attributeId
- A unique id to identify the set of attributes.
This should correspond to the name of an attribute-set
defined in the configuration file.Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.