Class Settings


  • public class Settings
    extends java.lang.Object
    Global settings.
    Author:
    harald
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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".
      static void setEncodingCharset​(java.nio.charset.Charset encodingCharset)
      Sets the encoding used to read and write files.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 is StandardCharsets.UTF_8