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