org.apache.maven.doxia.module.fo
public class FoConfiguration extends java.lang.Object
Constructor and Description |
---|
FoConfiguration()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
javax.swing.text.MutableAttributeSet |
getAttributeSet(java.lang.String attributeId)
Builds a set of attributes.
|
java.lang.String |
getAttributeString(java.lang.String attributeId)
Builds a list of attributes.
|
void |
load(java.io.File configFile)
Load configuration parameters from a File.
|
public void load(java.io.File configFile) throws java.io.IOException
configFile
- the configuration file.java.io.IOException
- if the File cannot be read
or some error occurs when initializing the configuration parameters.public java.lang.String getAttributeString(java.lang.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 javax.swing.text.MutableAttributeSet getAttributeSet(java.lang.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-2014. All Rights Reserved.