|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectutil.io.IniFileReader
public class IniFileReader
This class reads Ini-Files. Ini-Files are Property-Files with [sections] and Key=Value Text Each [Section] is loaded into an unique HashMap.
| Constructor Summary | |
|---|---|
IniFileReader(File iniFile)
Loads the Ini-File |
|
IniFileReader(InputStream stream)
Loads the Ini from a InputStream |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IniFileReader(File iniFile)
throws IOException
iniFile - File to load
IOException
public IniFileReader(InputStream stream)
throws IOException
stream - Stream with Ini-File
IOException| Method Detail |
|---|
public HashMap<String,String> getSection(String section)
section - Section to return
public String[] getAllSections()
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||