public class IniFileReader extends Object
Constructor and Description |
---|
IniFileReader(File iniFile)
Loads the Ini-File
|
IniFileReader(InputStream stream)
Loads the Ini from a InputStream
|
Modifier and Type | Method and Description |
---|---|
String[] |
getAllSections()
Gets all available Sections in the loaded Ini-File
|
HashMap<String,String> |
getSection(String section)
Get a specific "Section" of the Ini-File.
|
public IniFileReader(File iniFile) throws IOException
iniFile
- File to loadIOException
public IniFileReader(InputStream stream) throws IOException
stream
- Stream with Ini-FileIOException
public HashMap<String,String> getSection(String section)
section
- Section to returnpublic String[] getAllSections()
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)