Class PreferencesXML

java.lang.Object
org.omegat.util.PreferencesXML

public class PreferencesXML extends Object
  • Constructor Details

    • PreferencesXML

      public PreferencesXML(File loadFile, File saveFile)
  • Method Details

    • load

      public void load(List<String> keys, List<String> values)
    • save

      public void save(List<String> keys, List<String> values) throws Exception
      Throws:
      Exception
    • isFirstRun

      public boolean isFirstRun()
      Returns true if there was no existing preferences file at init time.
    • getCreatedAt

      public String getCreatedAt()
      Returns ISO-8601 createdAt timestamp, or null if not available yet.
    • getUpdatedAt

      public String getUpdatedAt()
      Returns ISO-8601 updatedAt timestamp, or null if not available yet.