Class Ek9ProjectProperties

java.lang.Object
org.ek9lang.cli.Ek9ProjectProperties

final class Ek9ProjectProperties extends Object
Designed only to be used on the front end of the compiler to access properties files that are in the .ek9 directory just off the same directory as the file that the compiler was asked to compile. This code will cause System exit if it is not possible to continue (i.e. it is not designed to be tolerant at all). i.e. /some/path/to/project/MyAceProgram.ek9 We're looking in /some/path/to/project/.ek9/*.properties
  • Constructor Details

    • Ek9ProjectProperties

      Ek9ProjectProperties(File propertiesFile)
  • Method Details

    • exists

      boolean exists()
    • getFileName

      String getFileName()
    • prepareListForStorage

      String prepareListForStorage(List<String> list)
    • isNewerThan

      boolean isNewerThan(File sourceFile)
    • loadProperties

      Properties loadProperties()
      Load up all the properties and return them.
    • storeProperties

      void storeProperties(Properties properties)
      Save the properties to the configured file.