import com.itextpdf.text.BaseColor;
import com.itextpdf.text.Font;
public class Constant {
public static final String PDF_FILE_NAME = "详情.pdf";
public static final String WORD_FILE_NAME = "详情.docx";
public static final String PATH = "C:\\";
public static final String HEITI = "simhei.ttf";
public static final String SONGTI = "simsun.ttc";
public static final String OUTLIERS = "OUTLIERS";
public static final String MACRO = "宏量";
public static final String TRACE = "微量";
public static final String DATE = "日期:";
public static final String RAW_MATERIAL_NAME = "原料名称";
public static final String AMOUNT = "数量(公斤/吨)";
public static final String ZERO = "0.0000";
public static final String CUSTOM_MADE = "定制";
public static final String REEXAMINE = "复审";
public static final String APPROVAL = "审批";
public static final String SPACE = " ";
public static final String FIRST_EDITION = "第一版";
public static final String END = "g/100g。\n\n\n\n\n\n\n\n\n";
public static final Font BOLD_FACE = PdfUtils.setFont(HEITI, 10.5F, Font.BOLD, BaseColor.BLACK);
public static final Font SONG_FONT = PdfUtils.setFont(SONGTI, 10.5F, Font.NORMAL, BaseColor.BLACK);
public static Float HEIGHT = 30.0F;
public static Float SEGMENT_SPACING = 5.0F;
public static String FONT_NAME = "宋体";
public static final String FAIL = "fail";
public static final String MONTH_STR = "月";
public static final String DAY_STR = "天";
public static final String START = "启用";
public static final String STOP = "停用";
public static final String WATER = "水分";
public static final String VERIFIED = "待验证";
public static final String NO_WRITE = "有产品名称未填写";
public static final class Symbol {
/**
* 左括号
*/
public static final String LEFT_BRACKET = "(";
/**
* 右括号
*/
public static final String RIGHT_BRACKET = ")";
/**
* 空格
*/
public static final String SPACE = " ";
/**
* 左大括号
*/
public static final String LEFT_BRACE = "{";
/**
* 右大括号
*/
public static final String RIGHT_BRACE = "}";
/**
* %号
*/
public static final String PERCENT = "%";
/**
* 下划线_
*/
public static final String UNDER_LINE = "_";
/**
* 逗号,
*/
public static final String COMMA = ",";
/**
* 等号=
*/
public static final String EQAUL = "=";
/**
* 分号:
*/
public static final String COLON = ":";
public static final String NUMBERSIGN = "#";
public static final String AND = "&";
public static final String STAR = "*";
public static final String PLUS = "+";
public static final String MINUS = "-";
public static final String QUESTION = "?";
public static final String BAR = "|";
public static final String QUOTE = "'";
public static final String DOUBLE_QUOTE = "\"";
public static final String LESS = "<";
public static final String GREATER = ">";
public static final String DOT = ".";
public static final String DOLLAR = "$";
public static final String AT = "@";
public static final String EXCLAM = "!";
public static final String TILDE = "~";
public static final String BACK_QUOTE = "`";
public static final String CARET = "^";
public static final String SEMICOLON = ";";
public static final String SLASH = "/";
public static final String PAUSE_MARK = "、";
}
public static final class DateFormat {
public static final String YYYYMMDDHHMMSSSSS = "yyyy-MM-dd HH:mm:ss.SSS";
public static final String YYYYMMDDHHMMSS = "yyyy-MM-dd HH:mm:ss";
public static final String YYYYMMDDHHMM = "yyyy-MM-dd HH:mm";
public static final String YYYYMMDDHH = "yyyy-MM-dd HH";
public static final String YYYYMMDD = "yyyy-MM-dd";
public static final String YYYYMM = "yyyy-MM";
public static final String YYMMDD = "yy-MM-dd";
public static final String YYMM = "yy-MM";
}
public static final class Filed {
public static final String CLASSIFIER_NAME = "classifierName";
public static final String MODIFIED_TIME = "modifiedTime";
public static final String COMPOSITION_NAME = "compositionName";
public static final String ATTACHMENT_NAME = "attachment;filename=";
public static final String SINGLE_VALUE = "singleValue";
public static final String MATERIAL_FACTORY_NAME = "materialFactoryName";
public static final String MATERIAL_MANUFACTURER = "materialManufacturer";
public static final String MATERIAL_NAME = "materialName";
public static final String STATUS = "status";
public static final String VALUE = "value";
public static final String PRODUCT_NAME = "productName";
public static final String CREATED_BY = "createdBy";
public static final String NULL = "null";
public static final String KEY_RECIPE_SAVE = "recipeSave";
public static final String UNIT_GRAM = "g/100g";
public static final String UNIT_MILLIGRAM = "mg/100g";
public static final String UNIT_MICROGRAM = "μg/100g";
}
public static final class Number {
public static Integer ZERO = 0;
public static Integer ONE = 1;
public static Integer TWO = 2;
public static Integer THREE = 3;
public static Integer FOUR = 4;
public static Integer FIVE = 5;
public static Integer SIX = 6;
public static Integer SEVEN = 7;
public static Integer EIGHT = 8;
public static Integer NINE = 9;
public static Integer TEN = 10;
public static Integer ELEVEN = 11;
public static Integer TWELVE = 12;
public static Integer THIRTEEN = 13;
public static Integer SEVENTEEN = 17;
public static Integer THIRTY = 30;
public static Integer TENNINE = 10999;
}
public static final class DictionaryClassifier {
public static final Long FOOD_CATEGORY = 19L;
public static final Long TWO = 2L;
public static final Long FOUR = 4L;
public static final Long FIVE = 5L;
public static final Long SIX = 6L;
public static final Long NINE = 9L;
public static final Long THIRTEEN = 13L;
}
}
符号、数字、时间格式枚举类
最新推荐文章于 2024-08-23 15:54:50 发布