Class AbstractPersistentStore<T>

    • Constructor Detail

      • AbstractPersistentStore

        protected AbstractPersistentStore​(String configFileName,
                                          com.thoughtworks.xstream.converters.Converter entityConverter)
    • Method Detail

      • load

        public void load()
      • save

        public void save()
        Specified by:
        save in interface Saveable
      • getConfigFile

        protected XmlFile getConfigFile()
        The file where tokens are saved
      • encrypt

        @Nullable
        protected static String encrypt​(@Nullable
                                        String unencryptedValue)
      • decrypt

        @Nullable
        protected static String decrypt​(@Nullable
                                        String encryptedValue)
      • getEntityClass

        protected abstract Class<T> getEntityClass()
      • getStoreValueName

        protected abstract String getStoreValueName()
      • getStoreKeyName

        protected abstract String getStoreKeyName()
      • getStoreEntryName

        protected abstract String getStoreEntryName()