- java.lang.Object
-
- org.tentackle.common.Settings
-
public class Settings extends java.lang.ObjectGlobal settings.- Author:
- harald
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.nio.charset.CharsetgetEncodingCharset()Gets the encoding used to read and write files.
Usually set by the maven plugins from "project.build.sourceEncoding".static voidsetEncodingCharset(java.nio.charset.Charset encodingCharset)Sets the encoding used to read and write files.
-
-
-
Method Detail
-
getEncodingCharset
public static java.nio.charset.Charset getEncodingCharset()
Gets the encoding used to read and write files.
Usually set by the maven plugins from "project.build.sourceEncoding".- Returns:
- the charset, default is
StandardCharsets.UTF_8
-
setEncodingCharset
public static void setEncodingCharset(java.nio.charset.Charset encodingCharset)
Sets the encoding used to read and write files.- Parameters:
encodingCharset- the charset, default isStandardCharsets.UTF_8
-
-