Modifier and Type | Field and Description |
---|---|
protected IniReader |
iniReader |
REQUIRED_CONFIG_VERSION
Constructor and Description |
---|
IniConfig()
Read configuration file (external or internal, if it does not exist).
|
IniConfig(boolean createIfNotExists)
Read configuration file (external or internal, if it does not exist).
|
IniConfig(boolean createIfNotExists,
File iniPath) |
Modifier and Type | Method and Description |
---|---|
IAudioSection |
getAudioSection() |
IC1541Section |
getC1541Section() |
IniConsoleSection |
getConsoleSection() |
static IniConfig |
getDefault()
Get default configuration, read from internal sidplay2.ini file.
|
IEmulationSection |
getEmulationSection() |
List<? extends IFilterSection> |
getFilterSection() |
IPrinterSection |
getPrinterSection() |
ISidPlay2Section |
getSidplay2Section() |
void |
write() |
protected IniReader iniReader
public IniConfig()
public IniConfig(boolean createIfNotExists)
createIfNotExists
- If external configuration file does not exist, create itpublic IniConfig(boolean createIfNotExists, File iniPath)
public List<? extends IFilterSection> getFilterSection()
getFilterSection
in interface IConfig
public static IniConfig getDefault()
public void write()
public final ISidPlay2Section getSidplay2Section()
getSidplay2Section
in interface IConfig
public final IC1541Section getC1541Section()
getC1541Section
in interface IConfig
public final IPrinterSection getPrinterSection()
getPrinterSection
in interface IConfig
public final IniConsoleSection getConsoleSection()
public final IAudioSection getAudioSection()
getAudioSection
in interface IConfig
public final IEmulationSection getEmulationSection()
getEmulationSection
in interface IConfig
Copyright © 2018 Ken Händel. All rights reserved.