Class MockPermanentStorage

java.lang.Object
xbot.common.properties.TableProxy
xbot.common.properties.MockPermanentStorage
All Implemented Interfaces:
ITableProxy, PermanentStorage

@Singleton public class MockPermanentStorage extends TableProxy implements PermanentStorage
  • Field Details

    • propertyDelimiter

      protected String propertyDelimiter
      Permanent storage property storage delimiter
    • lineSeperator

      protected String lineSeperator
      Permanent storage line seperator
  • Constructor Details

    • MockPermanentStorage

      @Inject public MockPermanentStorage()
  • Method Details

    • addTestDouble

      public void addTestDouble(String key, double value)
    • addTestBoolean

      public void addTestBoolean(String key, boolean value)
    • addTestString

      public void addTestString(String key, String value)
    • readFromFile

      protected String readFromFile()
    • writeToFile

      protected void writeToFile(String data)