svn-gvsig-desktop / 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 @ 41062
History | View | Annotate | Download (4.47 KB)
1 |
<?xml version= "1.0 "?>
|
---|---|
2 |
<definitions>
|
3 |
<version>1.0.0</version> |
4 |
<classes>
|
5 |
<class name="CSVStoreParameters"> |
6 |
<extends>
|
7 |
<class namespace="dal" name="ProviderParameters"/> |
8 |
</extends>
|
9 |
<description>Store the parameters need to open a CSV file</description> |
10 |
<fields>
|
11 |
<field name="File" type="file" mandatory="true" group="Basic"> |
12 |
<description>CSV file</description> |
13 |
</field>
|
14 |
<field name="profile" type="string" mandatory="true" defaultValue="EXCEL_NORTH_EUROPE_PREFERENCE" group="Basic"> |
15 |
<description>Predefined formats</description> |
16 |
<availableValues>
|
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> |
21 |
</availableValues>
|
22 |
</field>
|
23 |
<field name="quotePolicy" type="string" mandatory="false" defaultValue="NormalQuoteMode" group="Basic"> |
24 |
<description>Sets the output quote policy of the format to the specified value. </description> |
25 |
<availableValues>
|
26 |
<value label="Quote all">AlwaysQuoteMode</value> |
27 |
<value label="Quotes fields which contain special characters">NormalQuoteMode</value> |
28 |
</availableValues>
|
29 |
</field>
|
30 |
<field name="recordSeparator" type="string" mandatory="false" defaultValue="" group="Advanced"> |
31 |
<description>Sets the record separator of the format to the specified character.</description> |
32 |
</field>
|
33 |
<field name="delimiter" type="string" mandatory="false" defaultValue="" group="Advanced"> |
34 |
<description>Sets the field delimiter of the format to the specified character.</description> |
35 |
</field>
|
36 |
<field name="quoteCharacter" type="string" mandatory="false" defaultValue="" group="Advanced"> |
37 |
<description>Sets the quoteChar of the format to the specified character.</description> |
38 |
</field>
|
39 |
<field name="commentStartMarker" type="string" mandatory="false" defaultValue="" group="Advanced"> |
40 |
<description>Sets the comment start marker of the format to the specified character.</description> |
41 |
</field>
|
42 |
<field name="automaticTypesDetection" type="boolean" mandatory="false" defaultValue="true" group="Advanced"> |
43 |
<description>This flag activate the autodetection of types in the CSV. Can be slow.</description> |
44 |
</field>
|
45 |
<field name="escapeCharacter" type="string" mandatory="false" defaultValue="" group="Advanced"> |
46 |
<description>Sets the escape character of the format to the specified character</description> |
47 |
</field>
|
48 |
<field name="header" type="string" mandatory="false" defaultValue="" group="Advanced"> |
49 |
<description>The header or empty if parsed automatically</description> |
50 |
</field>
|
51 |
<field name="surroundingSpacesNeedQuotes" type="boolean" mandatory="false" defaultValue="false" group="Advanced"> |
52 |
<description>the surroundingSpacesNeedQuotes flag.</description> |
53 |
</field>
|
54 |
<field name="CRS" type="crs" mandatory="false" group="Advanced"> |
55 |
<description>The coordinate reference system used in this CSV file if contains geometries</description> |
56 |
</field>
|
57 |
<field name="fieldtypes" type="string" mandatory="false" defaultValue="" group="Advanced"> |
58 |
<description>Comma separated list of field types. If empty strings are assumed (Eg: integer,string,double,boolean,float,geometry).</description> |
59 |
</field>
|
60 |
<field name="charset" type="string" mandatory="false" defaultValue="UTF-8" group="Advanced"> |
61 |
<description>Sets the String to use for null values for output.</description> |
62 |
</field>
|
63 |
<field name="point" type="string" mandatory="false" defaultValue="" group="Advanced"> |
64 |
<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> |
65 |
</field>
|
66 |
<field name="ignoreErrors" type="boolean" mandatory="false" defaultValue="false" group="Advanced"> |
67 |
<description>Set to true to ignore errors during load of data.</description> |
68 |
</field>
|
69 |
</fields>
|
70 |
</class>
|
71 |
</classes>
|
72 |
</definitions>
|