Class RulesManager
java.lang.Object
com.zetaplugins.essentialz.features.RulesManager
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RulesManager
public RulesManager()
-
-
Method Details
-
init
public void init() -
getLines
Gets the lines of the rules file.- Returns:
- A list of strings representing the lines of the rules file, or null if the file could not be read.
-
fileExists
public boolean fileExists()Checks if the rules file exists.- Returns:
- true if the rules file exists, false otherwise.
-
reload
public boolean reload()Reloads the rules file from disk.- Returns:
- true if the file was successfully reloaded, false otherwise.
-