org.aksw.commons.util
Class IniUtils

java.lang.Object
  extended by org.aksw.commons.util.IniUtils

public class IniUtils
extends Object

Loads all key-value pairs from a given file. The "source" keyword can be used for inclusion. (So this is somewhat simlar to bash)

Author:
Claus Stadler

Date: 12/2/11 Time: 5:05 PM


Constructor Summary
IniUtils()
           
 
Method Summary
static void loadIniFile(BufferedReader reader, Map<String,String> out)
           
static Map<String,String> loadIniFile(File file)
           
static void loadIniFile(File file, Map<String,String> out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IniUtils

public IniUtils()
Method Detail

loadIniFile

public static Map<String,String> loadIniFile(File file)
                                      throws IOException
Throws:
IOException

loadIniFile

public static void loadIniFile(File file,
                               Map<String,String> out)
                        throws IOException
Throws:
IOException

loadIniFile

public static void loadIniFile(BufferedReader reader,
                               Map<String,String> out)
                        throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.