Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
FileConfigurationOptions.java
Go to the documentation of this file.
1 package org.bukkit.configuration.file;
2 
3 import org.bukkit.configuration.*;
4 
9  private String header = null;
10  private boolean copyHeader = true;
11 
13  super(configuration);
14  }
15 
16  @Override
18  return (FileConfiguration) super.configuration();
19  }
20 
21  @Override
22  public FileConfigurationOptions copyDefaults(boolean value) {
23  super.copyDefaults(value);
24  return this;
25  }
26 
27  @Override
29  super.pathSeparator(value);
30  return this;
31  }
32 
46  public String header() {
47  return header;
48  }
49 
63  public FileConfigurationOptions header(String value) {
64  this.header = value;
65  return this;
66  }
67 
83  public boolean copyHeader() {
84  return copyHeader;
85  }
86 
103  public FileConfigurationOptions copyHeader(boolean value) {
104  copyHeader = value;
105 
106  return this;
107  }
108 }