org.jboss.dashboard.toolkit.factory
Class ConfigWriter
java.lang.Object
org.jboss.dashboard.toolkit.factory.ConfigWriter
- Direct Known Subclasses:
- ConfigValueWriter
public abstract class ConfigWriter
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_SEPARATOR
public static final String PROPERTY_SEPARATOR
- See Also:
- Constant Field Values
ConfigWriter
protected ConfigWriter(String appPath,
String commentsPath)
getPropertiesFilePath
protected File getPropertiesFilePath(String componentName)
- Get the properties file associated with given component.
- Parameters:
componentName - Factory component name to use
- Returns:
- a File pointing to the properties file.
existsComponent
public boolean existsComponent(String component)
- Determines if there exists a custom configuration for given component
- Parameters:
component - component name
- Returns:
- true if there is a custom configuration for this component.
writePropertiesToComponent
protected void writePropertiesToComponent(String componentName,
Properties values)
throws IOException
- Throws:
IOException
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.