public class IniFileReader
extends java.lang.Object
Constructor and Description |
---|
IniFileReader(java.io.File iniFile)
Loads the Ini-File
|
IniFileReader(java.io.InputStream stream)
Loads the Ini from a InputStream
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAllSections()
Gets all available Sections in the loaded Ini-File
|
java.util.HashMap<java.lang.String,java.lang.String> |
getSection(java.lang.String section)
Get a specific "Section" of the Ini-File.
|
public IniFileReader(java.io.File iniFile) throws java.io.IOException
iniFile
- File to loadjava.io.IOException
public IniFileReader(java.io.InputStream stream) throws java.io.IOException
stream
- Stream with Ini-Filejava.io.IOException
public java.util.HashMap<java.lang.String,java.lang.String> getSection(java.lang.String section)
section
- Section to returnpublic java.lang.String[] getAllSections()
TV-Browser 3.4.1.0, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)