DataConstant
发布日期:2022-02-09 20:39:07 浏览次数:5 分类:技术文章

本文共 2410 字,大约阅读时间需要 8 分钟。

/**

 * Copyright 2014 Liang Yuan
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *     http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com;
/**
 * This class used to store some contants for the whole application.
 *
 * @author Liang Yuan
 */
public class DataConstant {
    /**
     * zero string.
     */
    public static final String ZERO_STRING = "0";
    /**
     * DOT string.
     */
    public static final String DOT = ".";
    /**
     * blank string.
     */
    public static final String BLANK_STRING = "";
    /**
     * white space.
     */
    public static final String WHITE_SPACE = " ";
    /**
     * pipe string.
     */
    public static final String PIPE = "|";
    /**
     * boolean type.
     */
    public static final int BOOLEAN = 1;
    /**
     * string type.
     */
    public static final int STRING = 2;
    /**
     * int type.
     */
    public static final int INT = 3;
    /**
     * char type.
     */
    public static final int CHAR = 4;
    /**
     * date type.
     */
    public static final int DATE = 5;
    /**
     * double type.
     */
    public static final int DOUBLE = 6;
    /**
     * timestamp type.
     */
    public static final int TIMESTAMP = 7;
    /**
     * long type.
     */
    public static final int LONG = 8;
    /**
     * null string representation.
     */
    public static final String NULL_STRING = "{--NULL--}";
    /**
     * null string.
     */
    public static final String NULL = "null";
    /**
     * dummy int value.
     */
    public static final int DUMMYINTVALUE = -111111;
    /**
     * hold the "/" constant.
     */
    public static final String SLASH = "/";
    /**
     * hold the "_" constant.
     */
    public static final String UNDERSCORE = "_";
    /**
     * hold the "," constant.
     */
    public static final String COMMA = ",";
    /**
     * holds the "#" constant.
     */
    public static final String HASH_SIGN = "#";
    /**
     * holds the "{" constant.
     */
    public static final String LEFT_BRACE = "{";
    /**
     * holds the "}" constant.
     */
    public static final String RIGHT_BRACE = "}";
    /**
     * holds the "(" constant.
     */
    public static final String LEFT_BRACKET = "(";
    /**
     * holds the ")" constant.
     */
    public static final String RIGHT_BRACKET = ")";
    /**
     * holds the ":" constant.
     */
    public static final String COLON = ":";
  
                                                              
}

转载地址:https://blog.csdn.net/iteye_18599/article/details/82638145 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:DB Connection
下一篇:ExcelReader

发表评论

最新留言

感谢大佬
[***.8.128.20]2024年03月06日 06时17分36秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章

kafka消费者直接存在mysql中_【Canal】利用canal实现mysql实时增量备份并对接kafka 2019-04-21
python中readlines()函数_python中读取文件函数read()、readline()、readlines()的区别 2019-04-21
python入门之基础语法第四关输入输出答案_Python基本语法入门,基础 2019-04-21
mysql在存储过程仍_mysql存储过程 2019-04-21
失败的人生图片_早安励志经典语录精辟的一句话人生感悟 2019-04-21
如何设画面大小_如何设计旅游类项目?分享3种设计思路 2019-04-21
开启web_2021秋招四大网申时间、网申地址汇总(持续更新),德勤、安永、普华永道已开启!... 2019-04-21
从右边开始放_停路边,被人恶意放钉子,爆胎,报警无果,要我找监控 2019-04-21
读写测试_UFS 3.0读写测试数据曝光:秒杀UFS 2.1和eMMC 2019-04-21
注册小程序要多少钱_开发一个微信小程序商城要多少钱? 2019-04-21
mysql 实现id自增序列_MySQL分表自增ID解决方案 2019-04-21
反距离加权插值法例题_空间插值算法-反距离加权法 2019-04-21
oracle如何写循环日期自增_Oracle动态创建时间分区,以及Oracle12c中快速创建自增列... 2019-04-21
手机gps信息提取并储存到本地_通信人的实用技巧,如何在日常拍的照片里提取GPS位置信息... 2019-04-21
mysql5717开发设置怎么调回来_mysql 5.7.17 安装配置方法图文教程 2019-04-21
微信小程序 获取当前手机的可视_转载 JS获取当前手机浏览器可视区域大小 2019-04-21
ubuntu安装grafana_Ubuntu 16.04 安装Grafana并配置监控(Grafana + MySQL) 2019-04-21
图上上传页面设计_福利活动丨四周年专题页面今日上线,参与活动领取狼蛛新皮肤!... 2019-04-21
java number 相加_Java 中的数据流和函数式编程 2019-04-21
mysql no lock_mysql select不使用任何锁(select with nolock) 2019-04-21