Package org.ek9lang.cli
Class Ek9ProjectProperties
java.lang.Object
org.ek9lang.cli.Ek9ProjectProperties
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 Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) boolean
exists()
(package private) String
(package private) boolean
isNewerThan
(File sourceFile) (package private) Properties
Load up all the properties and return them.(package private) String
prepareListForStorage
(List<String> list) (package private) void
storeProperties
(Properties properties) Save the properties to the configured file.
-
Constructor Details
-
Ek9ProjectProperties
Ek9ProjectProperties(File propertiesFile)
-
-
Method Details
-
exists
boolean exists() -
getFileName
String getFileName() -
prepareListForStorage
-
isNewerThan
-
loadProperties
Properties loadProperties()Load up all the properties and return them. -
storeProperties
Save the properties to the configured file.
-