org.jopendocument.util
Class PropertiesUtils

java.lang.Object
  extended by org.jopendocument.util.PropertiesUtils

public class PropertiesUtils
extends Object


Constructor Summary
PropertiesUtils()
           
 
Method Summary
protected static Properties create(InputStream stream)
           
static Properties create(InputStream stream, boolean close)
           
static Properties createFromFile(File f)
           
static Properties createFromMap(Map<String,String> map)
           
static Properties createFromResource(Class<?> ctxt, String rsrc)
           
static void load(Properties props, Properties toLoad)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesUtils

public PropertiesUtils()
Method Detail

createFromMap

public static final Properties createFromMap(Map<String,String> map)

createFromFile

public static final Properties createFromFile(File f)
                                       throws IOException
Throws:
IOException

createFromResource

public static final Properties createFromResource(Class<?> ctxt,
                                                  String rsrc)
                                           throws IOException
Throws:
IOException

create

protected static final Properties create(InputStream stream)
                                  throws IOException
Throws:
IOException

create

public static final Properties create(InputStream stream,
                                      boolean close)
                               throws IOException
Throws:
IOException

load

public static final void load(Properties props,
                              Properties toLoad)
                       throws IOException
Throws:
IOException


Copyright © 2010 jOpenDocument All Rights Reserved.