Java 类org.apache.commons.configuration.AbstractHierarchicalFileConfiguration 实例源码

项目:semdroid    文件:XmlConfig.java   
@Override
public void saveTo(OutputStream output) throws Exception {
    if (mConfiguration instanceof AbstractHierarchicalFileConfiguration) {
        ((AbstractHierarchicalFileConfiguration)mConfiguration).save(output);
    } else {
        throw new BadConfigException("Configuration not AbstractHierarchicalFileConfiguration!");
    }
}