Class AccountLoader

java.lang.Object
java.lang.Thread
com.github.mafelp.accounts.AccountLoader
All Implemented Interfaces:
Runnable

public class AccountLoader extends Thread
The thread, which loads the accounts into AccountManager.linkedAccounts.
  • Field Details

    • jsonParser

      private static final com.google.gson.JsonParser jsonParser
      The Json Parser used to parse Json from the Accounts File.
    • accountFile

      private static final File accountFile
      The file in which all the accounts are stored.
  • Constructor Details

    • AccountLoader

      public AccountLoader()
  • Method Details

    • run

      public void run()
      The method that runs the loading in another thread.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread