Package com.kellerkindt.scs.interfaces

Examples of com.kellerkindt.scs.interfaces.StorageHandler.save()


               
                ShowCaseStandalone.slog(Level.INFO, "Add backuped shops.");
                sh.addAll(shops);

                ShowCaseStandalone.slog(Level.INFO, "Saving all currently loaded shops.");
                storage.save(sh);
               
      } catch (Exception ioe) {
        ShowCaseStandalone.slog(Level.WARNING, "Exception on prune: " + ioe.getLocalizedMessage());
                Messaging.send(cs, Term.ERROR_GENERAL.get("pruning") + ioe.getLocalizedMessage());//msg: generalError %1 (reloading)
      }
View Full Code Here


           
            ShowCaseStandalone.slog(Level.INFO, "Removing display items.");
        sh.hideAll();
       
        ShowCaseStandalone.slog(Level.INFO, "Writing changes to disk");
        storage.save(sh);
               
            ShowCaseStandalone.slog(Level.INFO, "Reloading shops from storage.");
            storage.load(sh);
           
            ShowCaseStandalone.slog(Level.INFO, "Starting shop update task.");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.