|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object util.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(java.io.File iniFile)
Loads the Ini-File |
|
IniFileReader(java.io.InputStream stream)
Loads the Ini from a InputStream |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IniFileReader(java.io.File iniFile) throws java.io.IOException
iniFile
- File to load
java.io.IOException
public IniFileReader(java.io.InputStream stream) throws java.io.IOException
stream
- Stream with Ini-File
java.io.IOException
Method Detail |
---|
public java.util.HashMap<java.lang.String,java.lang.String> getSection(java.lang.String section)
section
- Section to return
public java.lang.String[] getAllSections()
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |