Package com.io7m.cardant.server.api
Class CAServerConfigurations
java.lang.Object
com.io7m.cardant.server.api.CAServerConfigurations
Functions to produce server configurations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CAServerConfigurationofFile(Locale locale, Clock clock, CAServerConfigurationFile file) Read a server configuration from the given file.
-
Method Details
-
ofFile
public static CAServerConfiguration ofFile(Locale locale, Clock clock, CAServerConfigurationFile file) Read a server configuration from the given file.- Parameters:
locale- The localeclock- The clockfile- The file- Returns:
- A server configuration
-