org.deegree.commons.utils
Class ConfigManager

java.lang.Object
  extended by org.deegree.commons.utils.ConfigManager

public class ConfigManager
extends Object

ConfigManager

Version:
$Revision: 24719 $, $Date: 2010-06-07 14:58:21 +0200 (Mon, 07 Jun 2010) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Constructor Summary
ConfigManager()
           
 
Method Summary
static InputStream getInputResource(String path)
           
static OutputStream getOutputResource(String path, boolean append)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigManager

public ConfigManager()
Method Detail

getInputResource

public static InputStream getInputResource(String path)
                                    throws FileNotFoundException
Parameters:
path -
Returns:
an input stream reading from the file
Throws:
FileNotFoundException

getOutputResource

public static OutputStream getOutputResource(String path,
                                             boolean append)
                                      throws FileNotFoundException
Parameters:
path -
append -
Returns:
an output stream writing to the file
Throws:
FileNotFoundException


Copyright © 2011. All Rights Reserved.