All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.litongjava.tio.utils.SysConst Maven / Gradle / Ivy

There is a newer version: 3.7.3.v202400213-RELEASE
Show newest version
package com.litongjava.tio.utils;

import java.nio.charset.Charset;

/**
 * @author tanyaowu 
 * 2018年7月1日 下午10:51:59
 */
public interface SysConst {
  String TIO_URL_GITEE = "https://gitee.com/ppnt/t-io";
  String TIO_URL_GITHUB = "https://github.com/litongjava/t-io";
  /**
   * 空串
   */
  String BLANK = "";
  /**
   * 反斜扛
   */
  byte BACKSLASH = '/';
  /**
   * 斜扛
   */
  byte SLASH = '\\';
  /**
   * \r
   */
  byte CR = 13;
  /**
   * \n
   */
  byte LF = 10;
  /**
   * =
   */
  byte EQ = '=';
  /**
   * =
   */
  String STR_EQ = "=";
  /**
   * &
   */
  byte AMP = '&';
  /**
   * &
   */
  String STR_AMP = "&";
  /**
   * :
   */
  byte COL = ':';
  /**
   * :
   */
  String STR_COL = ":";
  /**
   * ;
   */
  byte SEMI_COL = ';';
  /**
   * 一个空格
   */
  byte SPACE = ' ';
  /**
   * 左括号
   */
  byte LEFT_BRACKET = '(';
  /**
   * 右括号
   */
  byte RIGHT_BRACKET = ')';
  /**
   * ?
   */
  byte ASTERISK = '?';
  byte[] CR_LF_CR_LF = { CR, LF, CR, LF };
  byte[] CR_LF = { CR, LF };
  byte[] LF_LF = { LF, LF };
  byte[] SPACE_ = { SPACE };
  byte[] CR_ = { CR };
  byte[] LF_ = { LF };
  byte[] NULL = { 'n', 'u', 'l', 'l' };
  /**
   * \r\n
   */
  String CRLF = "\r\n";
  String DEFAULT_ENCODING = "utf-8";

  Charset DEFAULT_CHARSET = Charset.forName(DEFAULT_ENCODING);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy