| | |
| | | public final static int NINE = 9; |
| | | |
| | | /** |
| | | * 数值:10 |
| | | */ |
| | | public final static int TEN = 10; |
| | | |
| | | /** |
| | | * 数值:16 |
| | | */ |
| | | public final static int SIXTEEN = 16; |
| | | |
| | | /** |
| | | * 数值:200 |
| | | */ |
| | | public final static int TWO_HUNDRED = 200; |
| | | |
| | | /** |
| | | * 数值:1024.0 |
| | | */ |
| | | public static final double D1024 = 1024.0; |
| | | |
| | | /** |
| | | * 数值:1050.0 |
| | | */ |
| | | public static final double D1050 = 1050.0; |
| | | |
| | | /** |
| | | * 等号 |
| | | */ |
| | | public final static String EQ = "="; |
| | | |
| | | /** |
| | | * 字符点 |
| | | */ |
| | | public final static String POINT = "."; |
| | | |
| | | /** |
| | | * 逗号 |
| | | */ |
| | | public final static String COMMA = ","; |
| | | |
| | | /** |
| | | * zip文件 |
| | | */ |
| | | public final static String ZIP = ".zip"; |
| | | |
| | | /** |
| | | * xls文件 |
| | | */ |
| | | public final static String XLS = ".xls"; |
| | | |
| | | /** |
| | | * xlsx文件 |
| | | */ |
| | | public final static String XLSX = ".xlsx"; |
| | | |
| | | /** |
| | | * 版本号 |
| | |
| | | public final static String TOKEN_COOKIE_KEY = "token"; |
| | | |
| | | /** |
| | | * Cookie中druid键 |
| | | */ |
| | | public final static String DRUID_COOKIE_KEY = "JSESSIONID"; |
| | | |
| | | /** |
| | | * 文本编码方式 |
| | | */ |
| | | public final static String TEXT_ENCODER = "UTF-8"; |
| | | |
| | | /** |
| | | * 密码正则表达式 |
| | | * 总质检 |
| | | */ |
| | | public final static String PWD_REG = "^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)(?![a-z0-9]+$)(?![a-z\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)(?![0-9\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)[a-zA-Z0-9\\W!@#$%^&*`~()\\-_+=,.?;<>]{12,20}$"; |
| | | public final static String CHECK_MAIN = "checkMain"; |
| | | |
| | | /** |
| | | * Object对象 |
| | | */ |
| | | public final static String OBJECT = "java.lang.Object"; |
| | | |
| | | /** |
| | | * Cookie中druid键 |
| | | */ |
| | | public final static String DRUID_COOKIE_KEY = "JSESSIONID"; |
| | | |
| | | /** |
| | | * 上传文件类型 |
| | |
| | | public final static String FILE_TYPES = "'xls','shp','gdb','mdb'"; |
| | | |
| | | /** |
| | | * 字符点 |
| | | * 16进制 |
| | | */ |
| | | public final static String POINT = "."; |
| | | public static final char[] HEX_DIGITS = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}; |
| | | |
| | | /** |
| | | * 等号 |
| | | * 密码正则表达式 |
| | | */ |
| | | public final static String EQ = "="; |
| | | public final static String PWD_REG = "^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)(?![a-z0-9]+$)(?![a-z\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)(?![0-9\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)[a-zA-Z0-9\\W!@#$%^&*`~()\\-_+=,.?;<>]{12,20}$"; |
| | | |
| | | /** |
| | | * MPT文件扩展名 |
| | | */ |
| | | public final static List<String> MPT_EXTENSION = new ArrayList<>(Arrays.asList(".mpt", ".mIdx", ".Strmi")); |
| | | |
| | | /** |
| | | * IMG文件扩展名 |
| | | */ |
| | | public final static List<String> IMG_EXTENSION = new ArrayList<>(Arrays.asList(".img", ".rrd", ".img.aux.xml", ".hdr", ".img.enp", ".img.xml")); |
| | | |
| | | /** |
| | | * TIF文件扩展名 |
| | | */ |
| | | public final static List<String> TIF_EXTENSION = new ArrayList<>(Arrays.asList(".tif", ".prj", ".tfw", ".tif.ovr", ".tif.aux.xml", ".tif.enp", ".tif.xml")); |
| | | |
| | | /** |
| | | * TIFF文件扩展名 |
| | | */ |
| | | public final static List<String> TIFF_EXTENSION = new ArrayList<>(Arrays.asList(".tiff", ".prj", ".tfw", ".tiff.ovr", ".tiff.aux.xml", ".tiff.enp", ".tiff.xml")); |
| | | |
| | | /** |
| | | * SHP文件扩展名 |
| | | */ |
| | | public final static List<String> SHP_EXTENSION = new ArrayList<>(Arrays.asList(".shp", ".shx", ".dbf", ".prj", ".cpg", ".qix", ".sbn", ".sbx")); |
| | | |
| | | /** |
| | | * 所有文件扩展名 |
| | | */ |
| | | public final static List<String> ALL_EXTENSION = new ArrayList<>(Arrays.asList(".txt", ".xml", ".pdf", ".xls", ".xlsx", ".doc", ".docx", ".ppt", ".pptx", ".shp", ".gdb", ".mdb", ".dwg", ".las", ".laz", ".cpt", ".mpt", ".fly", ".efb", ".g3d", ".fbx", ".obj", ".3dm", ".3dml", ".osgb", ".rvt", ".ifc", ".jpg", ".png", ".img", ".tif", ".tiff", ".bmp", ".gif", ".rmvb", ".rm", ".mp3", ".mp4", ".avi", ".wma", ".wmv", ".7z", ".rar", ".zip")); |
| | | |
| | | /** |
| | | * 插入排除字段 |
| | |
| | | * GDB排除字段 |
| | | */ |
| | | public final static List<String> GDB_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("geom", "objectid", "shape_leng", "shape_area", "serialVersionUID", "dirName", "depName", "verName", "createName", "updateName")); |
| | | |
| | | /** |
| | | * 管线分析表名集合 |
| | | */ |
| | | public final static List<String> PIPE_ANALYSIS_TABS = new ArrayList<>(Arrays.asList("bd.dlg_25w_hydl", "bd.dlg_25w_lrdl", "bd.dlg_25w_lrrl", "bd.dlg_25w_hyda")); |
| | | |
| | | /** |
| | | * 管线排除字段 |
| | | */ |
| | | public final static List<String> PIPE_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("serialVersionUID", "tabs", "pwd", "gid", "wkt")); |
| | | } |