Revision 41006 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.file/org.gvsig.fmap.dal.file.csv/src/main/resources/org/gvsig/fmap/dal/store/csv/CSVParameters.xml

View differences:

CSVParameters.xml
11 11
        <field name="File" type="file" mandatory="true" group="Basic">
12 12
          <description>CSV file</description>
13 13
        </field>
14
        <field name="profile" type="string" mandatory="true" defaultValue="RFC4180" group="Basic">
14
        <field name="profile" type="string" mandatory="true" defaultValue="EXCEL_NORTH_EUROPE_PREFERENCE" group="Basic">
15 15
          <description>Predefined formats</description>
16 16
  		  <availableValues>
17
          	<value label="(use defaultvalues)">NONE</value>
18
            <value label="RFC4180">RFC4180</value>
19
            <value label="EXCEL">EXCEL</value>
20
            <value label="Tab-delimited">TDF</value>
21
            <value label="MySQL">MYSQL</value>
17
            <value label="Standard (double quote, comma and crlf)">STANDARD_PREFERENCE</value>
18
            <value label="Excel (double quote, comma and lf)">EXCEL_PREFERENCE</value>
19
            <value label="Excel North Europe (double quote, semicolon and lf)">EXCEL_NORTH_EUROPE_PREFERENCE</value>
20
            <value label="Tabs (double quote, tabs and lf)">TAB_PREFERENCE</value>
22 21
          </availableValues>          
23 22
        </field>
24
        <field name="quotePolicy" type="string" mandatory="true" defaultValue="" group="Basic">
23
        <field name="quotePolicy" type="string" mandatory="false" defaultValue="NormalQuoteMode" group="Basic">
25 24
          <description>Sets the output quote policy of the format to the specified value. </description>
26 25
  		  <availableValues>
27
          	<value label="(use defaultvalues)"></value>
28
          	<value label="Quote all">ALL</value>
29
            <value label="Quotes fields which contain special characters">MINIMAL</value>
30
            <value label="Quotes all non-numeric fields">NON_NUMERIC</value>
31
            <value label="Never quotes fields">NONE</value>
26
          	<value label="Quote all">AlwaysQuoteMode</value>
27
            <value label="Quotes fields which contain special characters">NormalQuoteMode</value>
32 28
          </availableValues>          
33 29
        </field>
34

  
35
        <field name="recordSeparator" type="string" mandatory="true" defaultValue="" group="Advanced">
30
         <field name="recordSeparator" type="string" mandatory="false" defaultValue="" group="Advanced">
36 31
          <description>Sets the record separator of the format to the specified character.</description>
37 32
        </field>
38
        <field name="delimiter" type="string" mandatory="true" defaultValue="" group="Advanced">
33
         <field name="delimiter" type="string" mandatory="false" defaultValue="" group="Advanced">
39 34
          <description>Sets the field delimiter of the format to the specified character.</description>
40 35
        </field>
41
        <field name="quoteCharacter" type="string" mandatory="true" defaultValue="" group="Advanced">
36
         <field name="quoteCharacter" type="string" mandatory="false" defaultValue="" group="Advanced">
42 37
          <description>Sets the quoteChar of the format to the specified character.</description>
43 38
        </field>
44
        <field name="commentStartMarker" type="string" mandatory="false" defaultValue="" group="Advanced">
39
         <field name="commentStartMarker" type="string" mandatory="false" defaultValue="" group="Advanced">
45 40
          <description>Sets the comment start marker of the format to the specified character.</description>
46 41
        </field>
47
        <field name="escapeCharacter" type="string" mandatory="false" defaultValue="" group="Advanced">
42
         <field name="escapeCharacter" type="string" mandatory="false" defaultValue="" group="Advanced">
48 43
          <description>Sets the escape character of the format to the specified character</description>
49 44
        </field>
50
        <field name="header" type="string" mandatory="false" defaultValue="" group="Advanced">
45
         <field name="header" type="string" mandatory="false" defaultValue="" group="Advanced">
51 46
          <description>The header or empty if parsed automatically</description>
52 47
        </field>
53
        <field name="ignoreSurroundingSpaces" type="boolean" mandatory="false" defaultValue="false" group="Advanced">
54
          <description>Sets the trimming behavior of the format. true to remove the surrounding spaces, false to leave the spaces as is. </description>
48
         <field name="surroundingSpacesNeedQuotes" type="boolean" mandatory="false" defaultValue="false" group="Advanced">
49
          <description>the surroundingSpacesNeedQuotes flag.</description>
55 50
        </field>
56
        <field name="ignoreEmptyLines" type="boolean" mandatory="false" defaultValue="true" group="Advanced">
57
          <description>Sets the empty line skipping behavior of the format. true to ignore the empty lines between the records, false to translate empty lines to empty records.</description>
58
        </field>
59
        <field name="CRS" type="crs" mandatory="false" group="Advanced">
51
         <field name="CRS" type="crs" mandatory="false" group="Advanced">
60 52
          <description>The coordinate reference system used in this CSV file if contains geometries</description>
61 53
        </field>
62
        <field name="fieldtypes" type="string" mandatory="false" defaultValue="" group="Advanced">
54
         <field name="fieldtypes" type="string" mandatory="false" defaultValue="" group="Advanced">
63 55
          <description>Comma separated list of field types. If empty strings are assumed (Eg: integer,string,double,boolean,float,geometry).</description>
64 56
        </field>
65
        <field name="nullTo" type="string" mandatory="false" defaultValue="" group="Advanced">
57
        <field name="charset" type="string" mandatory="false" defaultValue="UTF-8" group="Advanced">
66 58
          <description>Sets the String to use for null values for output.</description>
67 59
        </field>
60
        <field name="point" type="string" mandatory="false" defaultValue="" group="Advanced">
61
          <description>This field allow to add a Geometry column to the table. It is a list of field names separated by commas used as dimensions for the attribute GEOM of type point to add to the table.</description>
62
        </field>
68 63
      </fields>
69 64
    </class>
70 65
  </classes>

Also available in: Unified diff