Class Settings


  • public class Settings
    extends Object
    Global settings.
    Author:
    harald
    • 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 is StandardCharsets.UTF_8