Class WrappedFile

    • Constructor Summary

      Constructors 
      Constructor Description
      WrappedFile()  
      WrappedFile​(java.io.File file)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getObject()
      Get the object that is the property value.
      OptionType getOptionType()  
      void readState​(SaveState saveState)
      Concrete subclass of WrappedOption should read all of its state from the given saveState object.
      java.lang.String toString()  
      void writeState​(SaveState saveState)
      Concrete subclass of WrappedOption should write all of its state to the given saveState object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • WrappedFile

        public WrappedFile​(java.io.File file)
      • WrappedFile

        public WrappedFile()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • readState

        public void readState​(SaveState saveState)
        Description copied from interface: WrappedOption
        Concrete subclass of WrappedOption should read all of its state from the given saveState object.
        Specified by:
        readState in interface WrappedOption
        Parameters:
        saveState - container of state information
      • writeState

        public void writeState​(SaveState saveState)
        Description copied from interface: WrappedOption
        Concrete subclass of WrappedOption should write all of its state to the given saveState object.
        Specified by:
        writeState in interface WrappedOption
        Parameters:
        saveState - container of state information
      • getObject

        public java.lang.Object getObject()
        Description copied from interface: WrappedOption
        Get the object that is the property value.
        Specified by:
        getObject in interface WrappedOption