com.atlassian.jira.functest.config
Class ConfigFile
java.lang.Object
com.atlassian.jira.functest.config.ConfigFile
public abstract class ConfigFile
- extends Object
Represents a JIRA configuration file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigFile
protected ConfigFile(File file)
create
public static ConfigFile create(File file)
throws ConfigFile.ConfigFileException
- Throws:
ConfigFile.ConfigFileException
readConfig
public org.dom4j.Document readConfig()
throws ConfigFile.ConfigFileException
- Throws:
ConfigFile.ConfigFileException
writeFile
public void writeFile(org.dom4j.Document document)
throws ConfigFile.ConfigFileException
- Throws:
ConfigFile.ConfigFileException
getFile
public File getFile()
getInputStream
protected abstract InputStream getInputStream(File file)
throws IOException
- Throws:
IOException
getOutputStream
protected abstract OutputStream getOutputStream(File file)
throws IOException
- Throws:
IOException
Copyright © 2002-2012 Atlassian. All Rights Reserved.