public abstract class ConfigFile extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConfigFile.ConfigFileException |
Modifier and Type | Field and Description |
---|---|
static String |
ENTITIES_XML |
Modifier | Constructor and Description |
---|---|
protected |
ConfigFile(File file) |
Modifier and Type | Method and Description |
---|---|
static ConfigFile |
create(File file) |
File |
getFile() |
protected abstract InputStream |
getInputStream(File file) |
protected abstract OutputStream |
getOutputStream(File file) |
org.dom4j.Document |
readConfig() |
void |
writeFile(org.dom4j.Document document) |
public static final String ENTITIES_XML
protected ConfigFile(File file)
public static ConfigFile create(File file) throws ConfigFile.ConfigFileException
ConfigFile.ConfigFileException
public org.dom4j.Document readConfig() throws ConfigFile.ConfigFileException
ConfigFile.ConfigFileException
public void writeFile(org.dom4j.Document document) throws ConfigFile.ConfigFileException
ConfigFile.ConfigFileException
public File getFile()
protected abstract InputStream getInputStream(File file) throws IOException
IOException
protected abstract OutputStream getOutputStream(File file) throws IOException
IOException
Copyright © 2002-2018 Atlassian. All Rights Reserved.