Class LoadableSaveableAccounting

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.nio.file.Path getDataFile()  
      Accounting load()
      Load from a default source.
      void save()
      Save to a default destination.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BLUEHOUR_FILE_NAME

        public static final java.lang.String BLUEHOUR_FILE_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • LoadableSaveableAccounting

        public LoadableSaveableAccounting()
    • Method Detail

      • load

        public Accounting load()
                        throws java.io.IOException
        Load from a default source.
        Specified by:
        load in interface Loadable
        Returns:
        the loaded object
        Throws:
        java.io.IOException - in case of error
      • save

        public void save()
                  throws java.io.IOException
        Save to a default destination.
        Specified by:
        save in interface Saveable
        Throws:
        java.io.IOException - in case of error
      • getDataFile

        @Nonnull
        protected java.nio.file.Path getDataFile()