Klasse JSIDDeviceConfig

java.lang.Object
server.netsiddev.ini.JSIDDeviceConfig

public class JSIDDeviceConfig extends Object
INI configuration file support responsible to load and save all emulator settings.
Autor:
Ken Händel
  • Felddetails

    • REQUIRED_CONFIG_VERSION

      protected static final int REQUIRED_CONFIG_VERSION
      Bump this each time you want to invalidate jsiddevice.ini files on disk
      Siehe auch:
    • FILE_NAME

      private static final String FILE_NAME
      Name of our config file.
      Siehe auch:
    • iniPath

      private final File iniPath
      INI configuration filename or null (use internal configuration)
    • JSIDDEVICE1_NAME_PREFIX

      private static final String JSIDDEVICE1_NAME_PREFIX
      Device name prefix of JSIDDEVICE 1.0
      Siehe auch:
    • jsiddeviceSection

      private IniJSIDDeviceSection jsiddeviceSection
    • audioSection

      private IniJSIDDeviceAudioSection audioSection
    • whatsSidSection

      private IniJSIDDeviceWhatsSidSection whatsSidSection
    • iniReader

      protected IniReader iniReader
    • filterList

      private String[] filterList
  • Konstruktordetails

    • JSIDDeviceConfig

      public JSIDDeviceConfig(boolean createIfNotExists)
  • Methodendetails

    • clear

      private void clear()
    • getFilter

      public IFilterSection getFilter(String filterName)
    • getFilterList

      public String[] getFilterList()
    • read

      private void read()
    • getINIPath

      private File getINIPath()
      Determine INI filename.
      1. If INI file exists in the user directory, then use it, else
      2. use INI file in the current working directory
      Gibt zurück:
      the absolute path name of the INI file to use
    • createINIBackup

      private void createINIBackup(File iniFile)
      Create backup of old INI file
      Parameter:
      iniFile - the INI file to backup
    • readInternal

      private void readInternal()
    • write

      public void write()
    • jsiddevice

      public IniJSIDDeviceSection jsiddevice()
    • audio

      public final IniJSIDDeviceAudioSection audio()
    • whatsSidSection

      public final IniJSIDDeviceWhatsSidSection whatsSidSection()