/*
 *    GeoTools - OpenSource mapping toolkit
 *    http://geotools.org
 *    (C) 2004-2006, Geotools Project Managment Committee (PMC)
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License as published by the Free Software Foundation; either
 *    version 2.1 of the License, or (at your option) any later version.
 *
 *    This library is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *    Lesser General Public License for more details.
 */
package org.geotools.data.vpf.ifc;

import java.util.Arrays;
import java.util.List;

/**
 * Defines constants related to FACC Code processing.  
 *
 * @author John Meagher
 * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/unsupported/vpf/src/main/java/org/geotools/data/vpf/ifc/FCode.java $
 * @version $Id: FCode.java 20876 2006-08-07 12:51:29Z jgarnett $
 */
public interface FCode {

    /**
     * Array of attributes the FACC Code information is allowed to be stored under.
     * The default allowed attribute names are "f_code" and "facc".  This can be
     * be overridden using the system property "gt.vpf.allowedFCodeAttributes"
     * with a comma separated list of the desired values.  
     **/
    public static final String[] ALLOWED_FCODE_ATTRIBUTES =
        System.getProperty( "gt.vpf.allowedFCodeAttributes", "f_code,facc" ).split( "," );

    /**
     * The ALLOWED_FCODE_ATTRIBUTES array in list form.
     * @see #ALLOWED_FCODE_ATTRIBUTES
     **/
    public static final List ALLOWED_FCODE_ATTRIBUTES_LIST = Arrays.asList( ALLOWED_FCODE_ATTRIBUTES );
}
