Interface FileWriter
public interface FileWriter
Writes config files to disk, keeping the comments and key order of the shipped defaults.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longStamped onto files the plugin writes itself, so a file the user never touched can be told apart from an edited one. -
Method Summary
-
Field Details
-
LAST_MODIFIED_TIME
static final long LAST_MODIFIED_TIMEStamped onto files the plugin writes itself, so a file the user never touched can be told apart from an edited one.
-
-
Method Details
-
save
Writes a whole set of files.- Parameters:
files- the files to writecheckExist- whether to skip files that already existcheckLastModifiedTime- whether to stamp the files so they are recognized as untouched later
-
save
-