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.ConfigFileExceptionpublic org.dom4j.Document readConfig()
                              throws ConfigFile.ConfigFileException
ConfigFile.ConfigFileExceptionpublic void writeFile(org.dom4j.Document document)
               throws ConfigFile.ConfigFileException
ConfigFile.ConfigFileExceptionpublic File getFile()
protected abstract InputStream getInputStream(File file) throws IOException
IOExceptionprotected abstract OutputStream getOutputStream(File file) throws IOException
IOExceptionCopyright © 2002-2024 Atlassian. All Rights Reserved.