Package org.aksw.commons.util
Class IniUtils
- java.lang.Object
-
- 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
Constructors Constructor Description IniUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidloadIniFile(BufferedReader reader, Map<String,String> out)static Map<String,String>loadIniFile(File file)static voidloadIniFile(File file, Map<String,String> out)
-
-
-
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
-
-