org.deegree.commons.utils
Class ConfigManager

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

public class ConfigManager
extends java.lang.Object

ConfigManager

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

Constructor Summary
ConfigManager()
           
 
Method Summary
static java.io.InputStream getInputResource(java.lang.String path)
           
static java.io.OutputStream getOutputResource(java.lang.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 java.io.InputStream getInputResource(java.lang.String path)
                                            throws java.io.FileNotFoundException
Parameters:
path -
Returns:
an input stream reading from the file
Throws:
java.io.FileNotFoundException

getOutputResource

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


Copyright © 2011. All Rights Reserved.