01: package org.geotools.dbffile;
02:
03: /**
04: * Constants for DbfFile
05: */
06: interface DbfConsts {
07: static final int DBF_CENTURY = 1900; //base century
08: static final int DBF_MAXLEN = 4096;
09: static final int DBF_NAMELEN = 11;
10: static final int DBF3_MAXFIELDS = 128;
11: static final int DBF4_MAXFIELDS = 255;
12: static final int DBF_MAXFIELDS = 255;
13: static final int DBF_BUFFSIZE = 32;
14: static final int DBF_END_OF_DEFS = 13;
15: static final int DBF_OK = 1;
16: static final int DBF_READ_HEAD = -101;
17: static final int DBF_BAD_DBFID = -102;
18: static final int DBF_WRITE_HEAD = -103;
19: static final int DBF_READ_DEFS = -111;
20: static final int DBF_TOO_MANY_FIELDS = -112;
21: static final int DBF_NO_FIELDS = -113;
22: static final int DBF_BAD_EODEFS = -114;
23: static final int DBF_WRITE_DEFS = -115;
24: static final int DBF_BAD_ITYPE = -116;
25: static final int DBF_CANNOT_DO_MEMO = -117;
26: static final int DBF_BAD_INT_WIDTH = -118;
27: static final int DBF_BAD_OFFSET = -119;
28: static final int DBF_FLOATING_N = -120;
29: static final int DBF_READ_DATA = -121;
30: static final int DBF_UNPRINT_DATA = -122;
31: static final int DBF_WRITE_DATA = -125;
32: static final int DBF_INT_EXP = -126;
33: static final int DBF_INT_REAL = -127;
34: static final int DBF_INT_JUNK = -128;
35: static final int DBF_REC_DELETED = -129;
36: static final int DBF_ALL_DELETED = -130;
37: static final int DBF_BAD_SIZEOF = -131;
38: static final int DBF_REC_TOO_LONG = -132;
39: static final int DBF_TOO_WIDE_FOR_INF = -133;
40: static final int DBF_MALLOC_FIELD = -134;
41: static final int DBF_MALLOC = -135;
42: static final int DBF_GET_DATE = -150;
43: }
|