Class Environment

java.lang.Object
org.seppiko.commons.utils.Environment

public class Environment
extends java.lang.Object
Environmental constant
Author:
Leonard Woo
  • Field Summary

    Fields
    Modifier and Type Field Description
    static int ALPHABET_LENGTH
    Number of letters
    static java.lang.String CONFIG_FILE_PARAMETER_SUFFIX
    Config file parameter suffix
    static java.lang.String CONFIG_FILENAME_INI
    Config filename with ini
    static java.lang.String CONFIG_FILENAME_JSON
    Config filename with json
    static java.lang.String CONFIG_FILENAME_TOML
    Config filename with toml
    static java.lang.String CONFIG_FILENAME_YAML
    Config filename with yaml
    static java.lang.String CONFIG_FILENAME_YML
    Config filename with yml
    static char[] DIGIT
    Number char array
    static char[] HEXADECIMAL
    Hexadecimal char array
    static char[] LOWERCASE
    All lowercase letters char array
    static java.lang.String NEW_LINE
    Get system line interval symbol
    static int NUMBER_LENGTH
    Number of digits
    static java.util.TimeZone SYSTEM_ZONE
    Get system time zone
    static char[] UPPERCASE
    All uppercase letters char array
    static java.time.Clock UTC_ZONE
    Get UTC zone
  • Constructor Summary

    Constructors
    Constructor Description
    Environment()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NEW_LINE

      public static final java.lang.String NEW_LINE
      Get system line interval symbol
    • SYSTEM_ZONE

      public static final java.util.TimeZone SYSTEM_ZONE
      Get system time zone
    • UTC_ZONE

      public static final java.time.Clock UTC_ZONE
      Get UTC zone
    • DIGIT

      public static final char[] DIGIT
      Number char array
    • NUMBER_LENGTH

      public static final int NUMBER_LENGTH
      Number of digits
      See Also:
      Constant Field Values
    • HEXADECIMAL

      public static final char[] HEXADECIMAL
      Hexadecimal char array
    • UPPERCASE

      public static final char[] UPPERCASE
      All uppercase letters char array
    • LOWERCASE

      public static final char[] LOWERCASE
      All lowercase letters char array
    • ALPHABET_LENGTH

      public static final int ALPHABET_LENGTH
      Number of letters
      See Also:
      Constant Field Values
    • CONFIG_FILE_PARAMETER_SUFFIX

      public static final java.lang.String CONFIG_FILE_PARAMETER_SUFFIX
      Config file parameter suffix
      See Also:
      Constant Field Values
    • CONFIG_FILENAME_YAML

      public static final java.lang.String CONFIG_FILENAME_YAML
      Config filename with yaml
      See Also:
      Constant Field Values
    • CONFIG_FILENAME_YML

      public static final java.lang.String CONFIG_FILENAME_YML
      Config filename with yml
      See Also:
      Constant Field Values
    • CONFIG_FILENAME_JSON

      public static final java.lang.String CONFIG_FILENAME_JSON
      Config filename with json
      See Also:
      Constant Field Values
    • CONFIG_FILENAME_TOML

      public static final java.lang.String CONFIG_FILENAME_TOML
      Config filename with toml
      See Also:
      Constant Field Values
    • CONFIG_FILENAME_INI

      public static final java.lang.String CONFIG_FILENAME_INI
      Config filename with ini
      See Also:
      Constant Field Values
  • Constructor Details

    • Environment

      public Environment()