Package com.github.mafelp.accounts
Class AccountLoader
java.lang.Object
java.lang.Thread
com.github.mafelp.accounts.AccountLoader
- All Implemented Interfaces:
Runnable
The thread, which loads the accounts into AccountManager.linkedAccounts.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Modifier and TypeFieldDescriptionprivate static File
The file in which all the accounts are stored.private static com.google.gson.JsonParser
The Json Parser used to parse Json from the Accounts File.Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
jsonParser
private static final com.google.gson.JsonParser jsonParserThe Json Parser used to parse Json from the Accounts File. -
accountFile
The file in which all the accounts are stored.
-
-
Constructor Details
-
AccountLoader
public AccountLoader()
-
-
Method Details