| | |
| | | package com.lf.server.entity.all; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | |
| | | public final static int ONE_HUNDRED = 100; |
| | | |
| | | /** |
| | | * 数值:100,000 |
| | | */ |
| | | public final static int ONE_HUNDRED_THOUSAND = 100000; |
| | | |
| | | /** |
| | | * 数值: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 static final int I12 = 12; |
| | | |
| | | public static final int I24 = 24; |
| | | |
| | | public static final int I31 = 31; |
| | | |
| | | public static final int I60 = 60; |
| | | |
| | | public static final int I2050 = 2050; |
| | | |
| | | public static final int I4490 = 4490; |
| | | |
| | | /** |
| | | * 字符1 |
| | |
| | | public final static String COMMA = ","; |
| | | |
| | | /** |
| | | * 单引号 |
| | | */ |
| | | public final static String SINGLE_QUOTES = "'"; |
| | | |
| | | public final static String BBOREHOLE = "bborehole"; |
| | | |
| | | /** |
| | | * 正斜杠 |
| | | */ |
| | | public final static String SLASH = "/"; |
| | | |
| | | /** |
| | | * zip文件 |
| | | */ |
| | | public final static String IN = "in"; |
| | | |
| | | public final static String ZIP = ".zip"; |
| | | |
| | | /** |
| | | * xls文件 |
| | | */ |
| | | public final static String XLS = ".xls"; |
| | | |
| | | /** |
| | | * xlsx文件 |
| | | */ |
| | | public final static String XLSX = ".xlsx"; |
| | | |
| | | /** |
| | | * MDB文件 |
| | | */ |
| | | public final static String MDB = ".mdb"; |
| | | |
| | | /** |
| | | * SHP文件 |
| | | */ |
| | | public final static String SHP = ".shp"; |
| | | |
| | | /** |
| | | * GDB文件 |
| | | */ |
| | | public final static String GDB = ".gdb"; |
| | | |
| | | /** |
| | | * IMG文件 |
| | | */ |
| | | public final static String IMG = ".img"; |
| | | |
| | | /** |
| | | * MPT文件 |
| | | */ |
| | | public final static String MPT = ".mpt"; |
| | | |
| | | /** |
| | | * 3DML文件 |
| | | */ |
| | | public final static String D3DML = ".3dml"; |
| | | |
| | | /** |
| | | * TIF文件 |
| | | */ |
| | | public final static String TIF = ".tif"; |
| | | |
| | | /** |
| | | * TIFF文件 |
| | | */ |
| | | public final static String TIFF = ".tiff"; |
| | | |
| | | /** |
| | | * admin |
| | | */ |
| | | public final static String ADMIN = "admin"; |
| | | |
| | | /** |
| | |
| | | */ |
| | | public final static String DRUID_COOKIE_KEY = "JSESSIONID"; |
| | | |
| | | /** |
| | | * YES |
| | | */ |
| | | public final static String YES = "YES"; |
| | | |
| | | /** |
| | | * NO |
| | | */ |
| | | public final static String NO = "NO"; |
| | | |
| | | /** |
| | |
| | | * 穿跨越 |
| | | */ |
| | | public final static String CROSSING = "穿跨越"; |
| | | |
| | | public final static String LINESTRING = "LINESTRING"; |
| | | |
| | | public final static String MULTILINESTRING = "MULTILINESTRING"; |
| | | |
| | | public final static String POLYGON = "POLYGON"; |
| | | |
| | | public final static String MULTIPOLYGON = "MULTIPOLYGON"; |
| | | |
| | | public static final String NO_FILE = JSON.toJSONString(new ResponseMsg<String>(HttpStatus.NOT_FOUND, "文件找不到")); |
| | | |
| | | /** |
| | | * 16进制 |
| | |
| | | public final static List<String> SHP_EXT = new ArrayList<>(Arrays.asList(".shx", ".dbf", ".prj", ".cpg")); |
| | | |
| | | /** |
| | | * Mapper排除扩展名 |
| | | */ |
| | | public final static List<String> MAPPER_EXCLUDE_EXT = new ArrayList<>(Arrays.asList(".img.aux.xml", ".img.xml", ".tif.aux.xml", ".tif.xml", ".tiff.aux.xml", ".tiff.xml", ".shp.xml")); |
| | | |
| | | /** |
| | | * 所有文件扩展名 |
| | | */ |
| | | 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")); |
| | | 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", ".dem", ".bmp", ".gif", ".rmvb", ".rm", ".mp3", ".mp4", ".avi", ".wma", ".wmv", ".7z", ".rar", ".zip")); |
| | | |
| | | /** |
| | | * 插入排除字段 |
| | |
| | | /** |
| | | * 读取排除字段 |
| | | */ |
| | | public final static List<String> READ_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("gid", "objectid", "dirid", "depid", "verid", "createtime", "createuser", "updateuser", "updatetime", "shape_leng", "shape_area", "serialVersionUID", "dirName", "depName", "verName", "createName", "updateName")); |
| | | public final static List<String> READ_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("gid", "eventid", "parentid", "objectid", "dirid", "depid", "verid", "createtime", "createuser", "updateuser", "updatetime", "shape_leng", "shape_area", "serialversionuid", "dirname", "depname", "vername", "createname", "updatename")); |
| | | |
| | | /** |
| | | * MDB排除字段 |