Added new FileConfigurationOptions.copyHeader, defaulting to true. Copies the header from default config, if there is one.

This commit is contained in:
Nathan Adams
2011-10-12 13:24:57 +01:00
parent ab46572125
commit 98633dfddf
6 changed files with 153 additions and 54 deletions

View File

@@ -32,6 +32,12 @@ public class YamlConfigurationOptions extends FileConfigurationOptions {
super.header(value);
return this;
}
@Override
public YamlConfigurationOptions copyHeader(boolean value) {
super.copyHeader(value);
return this;
}
/**
* Gets how much spaces should be used to indent each line.