Package de.hsh.graja.extendproforma
Class SystemLocaleTO
- java.lang.Object
-
- de.hsh.graja.extendproforma.SystemLocaleTO
-
public class SystemLocaleTO extends Object
-
-
Constructor Summary
Constructors Constructor Description SystemLocaleTO()
SystemLocaleTO(SystemLocaleTO other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultLocale()
This locale is used by the JVM as the default locale when executing the backend and also when executing the student's submission during JUnit testing.void
setDefaultLocale(String defaultLocale)
This locale is used by the JVM as the default locale when executing the backend and also when executing the student's submission during JUnit testing.String
toString()
-
-
-
Constructor Detail
-
SystemLocaleTO
public SystemLocaleTO()
-
SystemLocaleTO
public SystemLocaleTO(SystemLocaleTO other)
-
-
Method Detail
-
getDefaultLocale
public String getDefaultLocale()
This locale is used by the JVM as the default locale when executing the backend and also when executing the student's submission during JUnit testing. The name of the requested locale is built from an IETF BCP 47 language tag string, e. g. en-US or de-DE. The language tag string is the same that is processed by the JavaSE standard classLocale.forLanguageTag(String)
.- Returns:
- the locale
-
setDefaultLocale
public void setDefaultLocale(String defaultLocale)
This locale is used by the JVM as the default locale when executing the backend and also when executing the student's submission during JUnit testing. The name of the requested locale is built from an IETF BCP 47 language tag string, e. g. en-US or de-DE. The language tag string is the same that is processed by the JavaSE standard classLocale.forLanguageTag(String)
.- Parameters:
defaultLocale
- the locale
-
-