Package zombie.network
Class ServerSettingsManager
java.lang.Object
zombie.network.ServerSettingsManager
public class ServerSettingsManager
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static ServerSettingsManager
instance
protected java.util.ArrayList
settings
protected java.util.ArrayList
suffixes
-
Constructor Summary
Constructors Constructor Description ServerSettingsManager()
-
Method Summary
Modifier and Type Method Description java.lang.String
getNameInSettingsFolder(java.lang.String name)
ServerSettings
getSettingsByIndex(int index)
int
getSettingsCount()
java.lang.String
getSettingsFolder()
java.util.ArrayList
getSuffixes()
boolean
isValidName(java.lang.String name)
boolean
isValidNewName(java.lang.String newName)
void
readAllSettings()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
settings
protected java.util.ArrayList settings -
suffixes
protected java.util.ArrayList suffixes
-
-
Constructor Details
-
ServerSettingsManager
public ServerSettingsManager()
-
-
Method Details
-
getSettingsFolder
public java.lang.String getSettingsFolder() -
getNameInSettingsFolder
public java.lang.String getNameInSettingsFolder(java.lang.String name) -
readAllSettings
public void readAllSettings() -
getSettingsCount
public int getSettingsCount() -
getSettingsByIndex
-
isValidName
public boolean isValidName(java.lang.String name) -
isValidNewName
public boolean isValidNewName(java.lang.String newName) -
getSuffixes
public java.util.ArrayList getSuffixes()
-