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 string)
ServerSettings
getSettingsByIndex(int int1)
int
getSettingsCount()
java.lang.String
getSettingsFolder()
java.util.ArrayList
getSuffixes()
boolean
isValidName(java.lang.String string)
boolean
isValidNewName(java.lang.String string)
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 string) -
readAllSettings
public void readAllSettings() -
getSettingsCount
public int getSettingsCount() -
getSettingsByIndex
-
isValidName
public boolean isValidName(java.lang.String string) -
isValidNewName
public boolean isValidNewName(java.lang.String string) -
getSuffixes
public java.util.ArrayList getSuffixes()
-