Class Settings

java.lang.Object
org.tentackle.common.Settings

public class Settings extends Object
Global settings.
Author:
harald
  • Method Details

    • 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