01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2004-2006, Geotools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or (at your option) any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: */
16: package org.geotools.data.vpf.ifc;
17:
18: import java.util.Arrays;
19: import java.util.List;
20:
21: /**
22: * Defines constants related to FACC Code processing.
23: *
24: * @author John Meagher
25: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/unsupported/vpf/src/main/java/org/geotools/data/vpf/ifc/FCode.java $
26: * @version $Id: FCode.java 20876 2006-08-07 12:51:29Z jgarnett $
27: */
28: public interface FCode {
29:
30: /**
31: * Array of attributes the FACC Code information is allowed to be stored under.
32: * The default allowed attribute names are "f_code" and "facc". This can be
33: * be overridden using the system property "gt.vpf.allowedFCodeAttributes"
34: * with a comma separated list of the desired values.
35: **/
36: public static final String[] ALLOWED_FCODE_ATTRIBUTES = System
37: .getProperty("gt.vpf.allowedFCodeAttributes", "f_code,facc")
38: .split(",");
39:
40: /**
41: * The ALLOWED_FCODE_ATTRIBUTES array in list form.
42: * @see #ALLOWED_FCODE_ATTRIBUTES
43: **/
44: public static final List ALLOWED_FCODE_ATTRIBUTES_LIST = Arrays
45: .asList(ALLOWED_FCODE_ATTRIBUTES);
46: }
|